diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-01-18 16:17:27 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-01-18 16:17:27 +0000 |
commit | 67c32a98315f785a9ec9d531c1f571a0196c7463 (patch) | |
tree | 4abb9cbeecc7901726dd0b4a37369596c852e9ef /utils/lit/tests | |
parent | 9f61947910e6ab40de38e6b4034751ef1513200f (diff) |
Diffstat (limited to 'utils/lit/tests')
-rw-r--r-- | utils/lit/tests/test-output.py | 2 | ||||
-rw-r--r-- | utils/lit/tests/xunit-output.py | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/utils/lit/tests/test-output.py b/utils/lit/tests/test-output.py index adfbcd88f22af..a50442741b9d5 100644 --- a/utils/lit/tests/test-output.py +++ b/utils/lit/tests/test-output.py @@ -1,5 +1,3 @@ -# XFAIL: python2.5 - # RUN: %{lit} -j 1 -v %{inputs}/test-data --output %t.results.out > %t.out # RUN: FileCheck < %t.results.out %s diff --git a/utils/lit/tests/xunit-output.py b/utils/lit/tests/xunit-output.py new file mode 100644 index 0000000000000..87652290f47d4 --- /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 |