aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-01-09 02:03:06 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-09 02:03:06 +0000
commit414a25aff9c608f702ac356466cf24bf97c91f53 (patch)
tree26d9d3c1a944b3f85d14783ef158806a2b9230fb
parent72fba4447fa3d85044c7bb3b235b1bb30015f26f (diff)
parent198dd1c6891109876976549d55d6c74cd4a82f47 (diff)
downloadexternal_llvm-414a25aff9c608f702ac356466cf24bf97c91f53.zip
external_llvm-414a25aff9c608f702ac356466cf24bf97c91f53.tar.gz
external_llvm-414a25aff9c608f702ac356466cf24bf97c91f53.tar.bz2
am 198dd1c6: am 2ee64e38: Merge "Add a test-case for lit xunit output"
* commit '198dd1c6891109876976549d55d6c74cd4a82f47': Add a test-case for lit xunit output
-rw-r--r--utils/lit/tests/xunit-output.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/lit/tests/xunit-output.py b/utils/lit/tests/xunit-output.py
new file mode 100644
index 0000000..8765229
--- /dev/null
+++ b/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