Make unexpected success as fail

This commit makes unexpected success (uxsuccess) as fail. We already
consider expected fail as success. So this is a consistent change.

Change-Id: Ic8f9f07354dc16bc0daac71f59aa9799c04c27a6
This commit is contained in:
Masayuki Igawa 2016-06-17 16:42:21 +09:00
parent e5e11dca2e
commit 10f1d43b07

View File

@ -180,7 +180,7 @@ def show_outcome(stream, test, print_failures=False, failonly=False,
color = color(stream)
break
if status == 'fail':
if status == 'fail' or status == 'uxsuccess':
FAILS.append(test)
if abbreviate:
color.write('F', 'red')