diff options
author | Chris Matthews <cmatthews5@apple.com> | 2018-05-10 22:51:28 +0000 |
---|---|---|
committer | Chris Matthews <cmatthews5@apple.com> | 2018-05-10 22:51:28 +0000 |
commit | 4855c5f717fde5207033e97989b20b273298a57b (patch) | |
tree | c0fb065f4c1b04bb1e7afc82a76477ac416738f7 /llvm/utils/lit/tests/xunit-output.py | |
parent | ea78a261de417ccd70b08f34cb51b21a5f1ebb82 (diff) | |
download | llvm-4855c5f717fde5207033e97989b20b273298a57b.zip llvm-4855c5f717fde5207033e97989b20b273298a57b.tar.gz llvm-4855c5f717fde5207033e97989b20b273298a57b.tar.bz2 |
[LIT] Move xunit tests tests into their own location, and and add failures
Failures will increase coverage.
llvm-svn: 332056
Diffstat (limited to 'llvm/utils/lit/tests/xunit-output.py')
-rw-r--r-- | llvm/utils/lit/tests/xunit-output.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/utils/lit/tests/xunit-output.py b/llvm/utils/lit/tests/xunit-output.py index 396f10e..d628429 100644 --- a/llvm/utils/lit/tests/xunit-output.py +++ b/llvm/utils/lit/tests/xunit-output.py @@ -1,11 +1,13 @@ # Check xunit output -# RUN: %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/test-data +# RUN: %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output || true # RUN: FileCheck < %t.xunit.xml %s # CHECK: <?xml version="1.0" encoding="UTF-8" ?> # CHECK: <testsuites> -# CHECK: <testsuite name='test-data' tests='2' failures='0'> -# CHECK: <testcase classname='test-data.test-data' name='bad&name.ini' time='{{[0-1]}}.{{[0-9]+}}'/> -# CHECK: <testcase classname='test-data.test-data' name='metrics.ini' time='{{[0-1]}}.{{[0-9]+}}'/> +# CHECK: <testsuite name='test-data' tests='1' failures='1'> +# CHECK: <testcase classname='test-data.test-data' name='bad&name.ini' time='{{[0-1]}}.{{[0-9]+}}'> +# CHECK-NEXT: <failure > +# CHECK-NEXT:& < > " +# CHECK-NEXT:</failure> # CHECK: </testsuite> # CHECK: </testsuites> |