diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/command.py | 4 | ||||
-rw-r--r-- | testing/parser.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/testing/command.py b/testing/command.py index 9f91cdbfb..ec40c2ef8 100644 --- a/testing/command.py +++ b/testing/command.py @@ -192,7 +192,7 @@ def main(): for test, res in result.iter_blacklist(bl): print("%-6s" % res, ":", decorate(test) + "()") r[0] += 1 if res == "PASS" else 0 - r[1] += 1 if res == "FAIL" else 0 + r[1] += 1 if res == "FAIL!" else 0 r[2] += 1 if res == "SKIPPED" else 0 # not yet supported r[3] += 1 if res == "BFAIL" else 0 r[4] += 1 if res == "BPASS" else 0 @@ -219,7 +219,7 @@ def main(): runner = TestRunner(builds.selected, project) result = TestParser(runner.logfile) for test, res in result.iter_blacklist(bl): - if res == "FAIL": + if res == "FAIL!": raise ValueError("At least one failure was not blacklisted") # the makefile does run, although it does not find any tests. # We simply check if any tests were found. diff --git a/testing/parser.py b/testing/parser.py index e4b1bc013..6c0d2af6f 100644 --- a/testing/parser.py +++ b/testing/parser.py @@ -143,7 +143,7 @@ class TestParser(object): if match: res = "BFAIL" else: - res = "FAIL" + res = "FAIL!" else: if match: res = "BPASS" |