aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/lit/tests/xunit-output.py
diff options
context:
space:
mode:
authorChris Matthews <cmatthews5@apple.com>2018-05-11 00:25:43 +0000
committerChris Matthews <cmatthews5@apple.com>2018-05-11 00:25:43 +0000
commit7d6224d2fa761e2e2c5a71c47e02bc37a92c0409 (patch)
treee06246eb9614e210f5f444eef885c687cd615ebc /llvm/utils/lit/tests/xunit-output.py
parent5f74591847db036f2fb23cf568886a6a71af3522 (diff)
downloadllvm-7d6224d2fa761e2e2c5a71c47e02bc37a92c0409.zip
llvm-7d6224d2fa761e2e2c5a71c47e02bc37a92c0409.tar.gz
llvm-7d6224d2fa761e2e2c5a71c47e02bc37a92c0409.tar.bz2
Support Unsupported Tests in xunit output
We were reporting "Unsupported" tests in xunit as passes, however since they are not run, it make more sense to mark them as skipped. The Junit xml standard has support for that, so lets use it. llvm-svn: 332065
Diffstat (limited to 'llvm/utils/lit/tests/xunit-output.py')
-rw-r--r--llvm/utils/lit/tests/xunit-output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/tests/xunit-output.py b/llvm/utils/lit/tests/xunit-output.py
index d628429..965a01c 100644
--- a/llvm/utils/lit/tests/xunit-output.py
+++ b/llvm/utils/lit/tests/xunit-output.py
@@ -4,7 +4,7 @@
# CHECK: <?xml version="1.0" encoding="UTF-8" ?>
# CHECK: <testsuites>
-# CHECK: <testsuite name='test-data' tests='1' failures='1'>
+# CHECK: <testsuite name='test-data' tests='1' failures='1' skipped='0'>
# CHECK: <testcase classname='test-data.test-data' name='bad&amp;name.ini' time='{{[0-1]}}.{{[0-9]+}}'>
# CHECK-NEXT: <failure >
# CHECK-NEXT:&amp; &lt; &gt; "