mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-17 09:06:07 +00:00

As per review feedback, make sure we rm temp files, and make the return code checking for lit more specific. llvm-svn: 332423
13 lines
504 B
Python
13 lines
504 B
Python
# Check xunit output
|
|
# RUN: rm -rf %t.xunit.xml
|
|
# RUN: not %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output
|
|
# 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 ><![CDATA[& < > "]]></failure>
|
|
# CHECK: </testsuite>
|
|
# CHECK: </testsuites>
|