From 10f1d43b07f514a539880d1551e98f99b6d1798a Mon Sep 17 00:00:00 2001 From: Masayuki Igawa Date: Fri, 17 Jun 2016 16:42:21 +0900 Subject: [PATCH] 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 --- os_testr/subunit_trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_testr/subunit_trace.py b/os_testr/subunit_trace.py index 9c0eb2c..f4bbc13 100755 --- a/os_testr/subunit_trace.py +++ b/os_testr/subunit_trace.py @@ -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')