diff options
author | Chris Matthews <cmatthews5@apple.com> | 2014-12-03 23:01:35 +0000 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-01-08 14:44:27 -0800 |
commit | d88eccd6c70588c96cfbe6beb286527cbfb3b2f0 (patch) | |
tree | 26d9d3c1a944b3f85d14783ef158806a2b9230fb | |
parent | 7f0b0a76545fe6ef4f6d34ea407f700ac3bc12bb (diff) | |
download | external_llvm-d88eccd6c70588c96cfbe6beb286527cbfb3b2f0.zip external_llvm-d88eccd6c70588c96cfbe6beb286527cbfb3b2f0.tar.gz external_llvm-d88eccd6c70588c96cfbe6beb286527cbfb3b2f0.tar.bz2 |
Add a test-case for lit xunit output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223307 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 0baca9564c9df7b06645f71abdda0fe3090f46a6)
-rw-r--r-- | utils/lit/tests/xunit-output.py | 10 |
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 |