validate: Use 'skipped' keyword in xunit xml

It was always meant to be 'skipped' to be 100% compatible with xunit
xsl.

Makes jenkins happy again
This commit is contained in:
Edward Hervey 2018-07-10 13:16:36 +02:00 committed by Edward Hervey
parent 29ef55c469
commit e0f683dde9

View 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')