summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/shtest-xunit-output.py
diff options
context:
space:
mode:
authorChris Matthews <cmatthews5@apple.com>2018-05-11 23:15:11 +0000
committerChris Matthews <cmatthews5@apple.com>2018-05-11 23:15:11 +0000
commit811a83d036869bb2a2ac8feb5907060d9cf55e6a (patch)
treee1388dd3a0925a659bf7764c9cda4664a7c10d1e /llvm/utils/lit/tests/shtest-xunit-output.py
parentfe645d295fab5f7b86db39f43b3e2a6269a9a6c0 (diff)
downloadbcm5719-llvm-811a83d036869bb2a2ac8feb5907060d9cf55e6a.tar.gz
bcm5719-llvm-811a83d036869bb2a2ac8feb5907060d9cf55e6a.zip
Add the message attribute to skipped
JUnit xml allows for a message attribute to be displayed on skips. Lets populate that with an analysis of why we skipped the test. llvm-svn: 332156
Diffstat (limited to 'llvm/utils/lit/tests/shtest-xunit-output.py')
-rw-r--r--llvm/utils/lit/tests/shtest-xunit-output.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/utils/lit/tests/shtest-xunit-output.py b/llvm/utils/lit/tests/shtest-xunit-output.py
index 6974e62a34b..6c5269a2fed 100644
--- a/llvm/utils/lit/tests/shtest-xunit-output.py
+++ b/llvm/utils/lit/tests/shtest-xunit-output.py
@@ -33,12 +33,12 @@
# CHECK: <testcase classname='shtest-format.shtest-format' name='pass.txt' time='{{[0-9]+\.[0-9]+}}'/>
# CHECK: <testcase classname='shtest-format.shtest-format' name='requires-any-missing.txt' time='{{[0-9]+\.[0-9]+}}'>
-# CHECK-NEXT:<skipped />
+# CHECK-NEXT:<skipped message="Skipping because of: a-missing-feature || a-missing-feature-2" />
# CHECK: <testcase classname='shtest-format.shtest-format' name='requires-any-present.txt' time='{{[0-9]+\.[0-9]+}}'/>
# CHECK: <testcase classname='shtest-format.shtest-format' name='requires-missing.txt' time='{{[0-9]+\.[0-9]+}}'>
-# CHECK-NEXT:<skipped />
+# CHECK-NEXT:<skipped message="Skipping because of: a-missing-feature" />
# CHECK: <testcase classname='shtest-format.shtest-format' name='requires-present.txt' time='{{[0-9]+\.[0-9]+}}'/>
@@ -49,12 +49,12 @@
# CHECK: <testcase classname='shtest-format.shtest-format' name='requires-triple.txt' time='{{[0-9]+\.[0-9]+}}'>
-# CHECK-NEXT:<skipped />
+# CHECK-NEXT:<skipped message="Skipping because of: x86_64" />
# CHECK: <testcase classname='shtest-format.shtest-format' name='unsupported-expr-false.txt' time='{{[0-9]+\.[0-9]+}}'/>
# CHECK: <testcase classname='shtest-format.shtest-format' name='unsupported-expr-true.txt' time='{{[0-9]+\.[0-9]+}}'>
-# CHECK-NEXT:<skipped />
+# CHECK-NEXT:<skipped message="Skipping because of configuration." />
# CHECK: <testcase classname='shtest-format.shtest-format' name='unsupported-star.txt' time='{{[0-9]+\.[0-9]+}}'>
# CHECK-NEXT: <failure{{[ ]*}}>
@@ -62,7 +62,7 @@
# CHECK-NEXT: </testcase>
# CHECK: <testcase classname='shtest-format.unsupported_dir' name='some-test.txt' time='{{[0-9]+\.[0-9]+}}'>
-# CHECK-NEXT:<skipped />
+# CHECK-NEXT:<skipped message="Skipping because of configuration." />
# CHECK: <testcase classname='shtest-format.shtest-format' name='xfail-expr-false.txt' time='{{[0-9]+\.[0-9]+}}'/>
OpenPOWER on IntegriCloud