Files
go-junit-report/testdata/017-report.xml
Joël Stemmer 4d05b2dc3f Regenerate testdata files
Many of the testdata files were generated a long time ago with very old
versions of Go. The Go test output has changed over time, and these test
inputs no longer reflect the current state. The intention is to fully
support the test output of the most recent Go versions.

This commit also includes the source used to generate the test output,
so the output can be more easily updated in the future.
2022-05-14 23:21:56 +01:00

51 lines
1.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="1" failures="1">
<testsuite name="package/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/race" time="0.000">
<failure message="Failed"><![CDATA[ race_test.go:13: x = 3
==================
WARNING: DATA RACE
Write at 0x00c000138168 by goroutine 8:
package/race.TestRace.func1()
/src/github.com/jstemmer/go-junit-report/testdata/src/race/race_test.go:9 +0x39
Previous write at 0x00c000138168 by goroutine 7:
package/race.TestRace()
/src/github.com/jstemmer/go-junit-report/testdata/src/race/race_test.go:12 +0x105
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/race.TestRace()
/src/github.com/jstemmer/go-junit-report/testdata/src/race/race_test.go:8 +0xfb
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>