Add a test-case for lit xunit output
llvm-svn: 223307
This commit is contained in:
10
llvm/utils/lit/tests/xunit-output.py
Normal file
10
llvm/utils/lit/tests/xunit-output.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# Check xunit output
|
||||
# RUN: %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/test-data
|
||||
# RUN: FileCheck < %t.xunit.xml %s
|
||||
|
||||
# CHECK: <?xml version="1.0" encoding="UTF-8" ?>
|
||||
# CHECK: <testsuites>
|
||||
# CHECK: <testsuite name='test-data' tests='1' failures='0'>
|
||||
# CHECK: <testcase classname='test-data.' name='metrics.ini' time='0.00'/>
|
||||
# CHECK: </testsuite>
|
||||
# CHECK: </testsuites>
|
||||
Reference in New Issue
Block a user