diff tests/test-run-tests.t @ 32715:a4d0e816a672

run-tests: add information about skipped tests to XUnit output The XUnit spec supports skipped tests.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 07 Jun 2017 15:47:06 -0700
parents ef8d24539612
children 2146f01a2577
line wrap: on
line diff
--- a/tests/test-run-tests.t	Wed Jun 07 15:47:06 2017 -0700
+++ b/tests/test-run-tests.t	Wed Jun 07 15:47:06 2017 -0700
@@ -676,6 +676,10 @@
   <?xml version="1.0" encoding="utf-8"?>
   <testsuite errors="0" failures="0" name="run-tests" skipped="2" tests="2">
     <testcase name="test-success.t" time="*"/> (glob)
+    <testcase name="test-skip.t">
+      <skipped>
+  <![CDATA[missing feature: nail clipper]]>    </skipped>
+    </testcase>
   </testsuite>
 
 Missing skips or blacklisted skips don't count as executed: