mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
validate:launcher: Make failure as <failure> in our xunit reporter
I think it was a mistake to call them <error> as the two notions are different (we marked failed test as "failures" in the <testuite> node). Should make gitlab happy with our file!
This commit is contained in:
parent
744b432441
commit
5767d553a6
1 changed files with 2 additions and 2 deletions
|
@ -209,8 +209,8 @@ class XunitReporter(Reporter):
|
|||
self.encoding, 'replace')
|
||||
xml_file.write(self._forceUnicode(
|
||||
'<testcase classname=%(cls)s name=%(name)s time="%(taken).3f">'
|
||||
'<error type=%(errtype)s message=%(message)s>%(stacktrace)s'
|
||||
'</error>%(systemout)s</testcase>' %
|
||||
'<failure type=%(errtype)s message=%(message)s>%(stacktrace)s'
|
||||
'</failure>%(systemout)s</testcase>' %
|
||||
{'cls': self._quoteattr(test.get_classname()),
|
||||
'name': self._quoteattr(test.get_name()),
|
||||
'taken': test.time_taken,
|
||||
|
|
Loading…
Reference in a new issue