mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 04:55:50 -04:00

We were reporting "Unsupported" tests in xunit as passes, however since they are not run, it make more sense to mark them as skipped. The Junit xml standard has support for that, so lets use it. llvm-svn: 332065
14 lines
508 B
Python
14 lines
508 B
Python
# Check xunit output
|
|
# RUN: %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output || true
|
|
# RUN: FileCheck < %t.xunit.xml %s
|
|
|
|
# CHECK: <?xml version="1.0" encoding="UTF-8" ?>
|
|
# CHECK: <testsuites>
|
|
# CHECK: <testsuite name='test-data' tests='1' failures='1' skipped='0'>
|
|
# CHECK: <testcase classname='test-data.test-data' name='bad&name.ini' time='{{[0-1]}}.{{[0-9]+}}'>
|
|
# CHECK-NEXT: <failure >
|
|
# CHECK-NEXT:& < > "
|
|
# CHECK-NEXT:</failure>
|
|
# CHECK: </testsuite>
|
|
# CHECK: </testsuites>
|