qubes/test/run: Print tracebacks of expected fails
fixes QubesOS/qubes-issues#2376
This commit is contained in:
parent
526f2c3751
commit
c81346ba51
@ -207,8 +207,13 @@ class QubesTestResult(unittest.TestResult):
|
|||||||
color=self.color),
|
color=self.color),
|
||||||
self.errors)
|
self.errors)
|
||||||
self.printErrorList(
|
self.printErrorList(
|
||||||
'{color[red]}FAIL{color[normal]}'.format(color=self.color),
|
'{color[red]}FAIL{color[normal]}'.format(
|
||||||
|
color=self.color),
|
||||||
self.failures)
|
self.failures)
|
||||||
|
self.printErrorList(
|
||||||
|
'{color[yellow]}EXPECTED{color[normal]}'.format(
|
||||||
|
color=self.color),
|
||||||
|
self.expectedFailures)
|
||||||
|
|
||||||
def printErrorList(self, flavour, errors): # pylint: disable=invalid-name
|
def printErrorList(self, flavour, errors): # pylint: disable=invalid-name
|
||||||
for test, err in errors:
|
for test, err in errors:
|
||||||
|
Loading…
Reference in New Issue
Block a user