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:
Matthew Treinish 2016-02-22 16:30:26 -05:00
parent c0e03d3e31
commit 8502e72356
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177

View File

@ -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: