1# Check xunit output 2# RUN: %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output || true 3# RUN: FileCheck < %t.xunit.xml %s 4 5# CHECK: <?xml version="1.0" encoding="UTF-8" ?> 6# CHECK: <testsuites> 7# CHECK: <testsuite name='test-data' tests='1' failures='1' skipped='0'> 8# CHECK: <testcase classname='test-data.test-data' name='bad&name.ini' time='{{[0-1]}}.{{[0-9]+}}'> 9# CHECK-NEXT: <failure > 10# CHECK-NEXT:& < > " 11# CHECK-NEXT:</failure> 12# CHECK: </testsuite> 13# CHECK: </testsuites> 14