validate: Use 'skipped' keyword in xunit xml
authorEdward Hervey <edward@centricular.com>
Tue, 10 Jul 2018 11:16:36 +0000 (13:16 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 10 Jul 2018 11:23:46 +0000 (13:23 +0200)
It was always meant to be 'skipped' to be 100% compatible with xunit
xsl.

Makes jenkins happy again

validate/launcher/reporters.py

index 3a4cfe9..69f2d55 100644 (file)
@@ -178,7 +178,7 @@ class XunitReporter(Reporter):
         xml_file.write('<?xml version="1.0" encoding="%(encoding)s"?>'
                        '<testsuite name="gst-validate-launcher" tests="%(total)d" '
                        'errors="%(timeout)d" failures="%(failures)d" '
-                       'skip="%(skipped)d">' % self.stats)
+                       'skipped="%(skipped)d">' % self.stats)
 
         tmp_xml_file = codecs.open(self.tmp_xml_file.name, 'r',
                                    self.encoding, 'replace')