Create report.xml for failed and skipped benchmarks testcase

This commit is contained in:
Joël Stemmer 2022-03-31 23:11:22 +01:00
parent 84c3710523
commit d966e01f2a

23
testdata/036-report.xml vendored Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="4" errors="1" failures="2" skipped="1">
<testsuite name="package/name/benchfail" tests="4" failures="2" errors="1" hostname="hostname" skipped="1" time="0.002" timestamp="2022-01-01T00:00:00Z">
<properties>
<property name="go.version" value="1.0"></property>
</properties>
<testcase name="BenchmarkError" classname="package/name/benchfail" time="0.000000000">
<failure message="Failed"></failure>
</testcase>
<testcase name="BenchmarkFatal" classname="package/name/benchfail" time="0.000000000">
<failure message="Failed"></failure>
</testcase>
<testcase name="BenchmarkSkip" classname="package/name/benchfail" time="0.000000000">
<skipped message="Skipped"></skipped>
</testcase>
<testcase name="Failure" classname="package/name/benchfail" time="0.000">
<error message="Runtime error"><![CDATA[goos: linux
goarch: amd64
pkg: package/name/benchfail
exit status 1]]></error>
</testcase>
</testsuite>
</testsuites>