Files
go-junit-report/testdata/104-report.xml
Joël Stemmer 7c195be87f Do not trim output whitespace prefix
Whitespace prefix of output lines was carried over from the old v1
version, but in some cases it removes too much whitespace. Ideally it
would detect the common prefix of all output lines for a given text and
only trim that. Until that's fixed, let's just stop removing the
whitespace.

Fixes #131
2022-05-13 21:01:49 +01:00

54 lines
1.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="1" failures="1">
<testsuite name="package/name/race" tests="1" failures="1" errors="0" hostname="hostname" time="0.005" timestamp="2022-01-01T00:00:00Z">
<properties>
<property name="go.version" value="1.0"></property>
</properties>
<testcase name="TestRace" classname="package/name/race" time="0.000">
<failure message="Failed"><![CDATA[==================
WARNING: DATA RACE
Write at 0x00c000016308 by goroutine 8:
package/name/race.Race.func1()
/src/package/name/race/pkg.go:7 +0x39
Previous read at 0x00c000016308 by goroutine 7:
package/name/race.Race()
/src/package/name/race/pkg.go:10 +0x104
package/name/race.TestRace()
/src/package/name/race/pkg_test.go:6 +0x24
testing.tRunner()
/go-src/go1.18/src/testing/testing.go:1439 +0x213
testing.(*T).Run.func1()
/go-src/go1.18/src/testing/testing.go:1486 +0x47
Goroutine 8 (running) created at:
package/name/race.Race()
/src/package/name/race/pkg.go:6 +0xfa
package/name/race.TestRace()
/src/package/name/race/pkg_test.go:6 +0x24
testing.tRunner()
/go-src/go1.18/src/testing/testing.go:1439 +0x213
testing.(*T).Run.func1()
/go-src/go1.18/src/testing/testing.go:1486 +0x47
Goroutine 7 (running) created at:
testing.(*T).Run()
/go-src/go1.18/src/testing/testing.go:1486 +0x724
testing.runTests.func1()
/go-src/go1.18/src/testing/testing.go:1839 +0x99
testing.tRunner()
/go-src/go1.18/src/testing/testing.go:1439 +0x213
testing.runTests()
/go-src/go1.18/src/testing/testing.go:1837 +0x7e4
testing.(*M).Run()
/go-src/go1.18/src/testing/testing.go:1719 +0xa71
main.main()
_testmain.go:47 +0x2e4
==================
testing.go:1312: race detected during execution of test]]></failure>
</testcase>
<system-out><![CDATA[ testing.go:1312: race detected during execution of test
exit status 1]]></system-out>
</testsuite>
</testsuites>