From 5f59ce344ffb1086b74e34fa24257b87d9325cd2 Mon Sep 17 00:00:00 2001 From: Christian Tismer Date: Tue, 5 Dec 2017 14:17:18 +0100 Subject: testrunner 4: Improve the error listing A simple change that makes the "FAIL!" entries easy to find. Task-number: PYSIDE-578 Change-Id: I953bf94912f101208c1cddb7772aa0c34e9ca1a8 Reviewed-by: Friedemann Kleint --- testing/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/command.py') 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. -- cgit v1.2.3