Skip to content

testcase name and class contains spaces #64

@nicola-lunghi

Description

@nicola-lunghi

using this tap file

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

<testcase name="csr-ref_platform_version " classname="regtest">

this is also present in the test files. For example:

<testcase name="test-graph.http " time="0.002963" classname="async-hooks">

<testcase name="test-http2-tls-disconnect " time="0.004550" classname="parallel">

full 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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions