summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Matthews <cmatthews5@apple.com>2014-12-03 23:01:35 +0000
committerChris Matthews <cmatthews5@apple.com>2014-12-03 23:01:35 +0000
commitbe5f1689813d282c58a382d85cd472b1aac59d2c (patch)
tree46e6a019a87b3852bfa07a8d33f16f9550f14aa0 /llvm
parent55d5005f6616ef4cb22b2e87c8b33354addf3a71 (diff)
downloadbcm5719-llvm-be5f1689813d282c58a382d85cd472b1aac59d2c.tar.gz
bcm5719-llvm-be5f1689813d282c58a382d85cd472b1aac59d2c.zip
Add a test-case for lit xunit output
llvm-svn: 223307
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/lit/tests/xunit-output.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/utils/lit/tests/xunit-output.py b/llvm/utils/lit/tests/xunit-output.py
new file mode 100644
index 00000000000..87652290f47
--- /dev/null
+++ b/llvm/utils/lit/tests/xunit-output.py
@@ -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> \ No newline at end of file
OpenPOWER on IntegriCloud