2 # RUN: not %{lit} --report-failures-only --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output
3 # RUN: FileCheck --input-file=%t.xunit.xml %s
5 # CHECK: <?xml version="1.0" encoding="UTF-8"?>
6 # CHECK-NEXT: <testsuites time="{{[0-9.]+}}">
7 # CHECK-NEXT: <testsuite name="test-data" tests="1" failures="1" skipped="0" time="{{[0-9.]+}}">
8 # CHECK-NEXT: <testcase classname="test-data.test-data" name="bad&name.ini" time="{{[0-1]\.[0-9]+}}">
9 # CHECK-NEXT: <failure><![CDATA[& < > ]]]]><![CDATA[> &"]]></failure>
10 # CHECK-NEXT: </testcase>
11 # CHECK-NEXT: </testsuite>
12 # CHECK-NEXT: </testsuites>