Treat xfail output like success
This commit updates one edge case where output from xfail was treated like a failure instead of like a success. Change-Id: I073302bc9aea6751906cb4955055c55b7c5dc3fc
This commit is contained in:
parent
c0e03d3e31
commit
8502e72356
@ -191,7 +191,7 @@ def show_outcome(stream, test, print_failures=False, failonly=False,
|
|||||||
if not print_failures:
|
if not print_failures:
|
||||||
print_attachments(stream, test, all_channels=True)
|
print_attachments(stream, test, all_channels=True)
|
||||||
elif not failonly:
|
elif not failonly:
|
||||||
if status == 'success':
|
if status == 'success' or status == 'xfail':
|
||||||
if abbreviate:
|
if abbreviate:
|
||||||
color.write('.', 'green')
|
color.write('.', 'green')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user