using this tap file ```tap TAP version 13 # Start Read Registers on c5:00.0[0] # OFFSET READ_VALUE EXP_VALUE [bank/reg_name] 1..3 ok 1 regtest.csr-ref_platform_version # offset=0x00010000 initial_value=0x00001000 read_value=0x00001000 ok 2 regtest.csr-sw_rst # skip offset=0x00010090 initial_value=0x00000000 read_value=0xdeadbeef not ok 3 regtest.csr-fail # comment # offset=0x00010090 initial_value=0x00000000 read_value=0xdeadbeef ``` the test names in the junit xml files contains spaces at the end ```xml <testcase name="csr-ref_platform_version " classname="regtest"> ``` this is also present in the test files. For example: https://github.com/nodejs/tap2junit/blob/0601e2df056c9a6625eba78c627eab405d09caa8/test/output/test.xml#L26 https://github.com/nodejs/tap2junit/blob/0601e2df056c9a6625eba78c627eab405d09caa8/test/output/test.xml#L1231 full xml: ```xml <?xml version="1.0" encoding="utf-8"?> <testsuites disabled="0" errors="0" failures="1" tests="3" time="0.0"> <testsuite disabled="0" errors="0" failures="1" name="../reg" skipped="1" tests="3" time="0" hostname="xirnicolal01"> <testcase name="csr-ref_platform_version " classname="regtest"> <system-out>offset=0x00010000 initial_value=0x00001000 read_value=0x00001000</system-out> </testcase> <testcase name="csr-sw_rst " classname="regtest"> <skipped type="skipped" message="offset=0x00010090 initial_value=0x00000000 read_value=0xdeadbeef"/> </testcase> <testcase name="csr-fail " classname="regtest"> <failure type="failure" message=" (0)"/> <system-err>['# offset=0x00010090 initial_value=0x00000000 read_value=0xdeadbeef']</system-err> </testcase> </testsuite> </testsuites> ```
Activity