# HG changeset patch # User simon@laptop-tosh # Date 2013-06-09 14:42:55 # Node ID ad16e5c7a4297650a389c0f363deeddf7fe5ca8b # Parent 30ea54660d14ec8dd20e3fcc52b1f79fe2a1d0fa run-tests: ignoring tests works again running with --retest did not work anymore because runone still returned None for this case. But this is not allowed since 6a127fa5de23. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -904,8 +904,7 @@ def runone(options, test, count): return skip("blacklisted") if options.retest and not os.path.exists(test + ".err"): - ignore("not retesting") - return None + return ignore("not retesting") if options.keywords: fp = open(test) @@ -915,8 +914,7 @@ def runone(options, test, count): if k in t: break else: - ignore("doesn't match keyword") - return None + return ignore("doesn't match keyword") for ext, func, out in testtypes: if lctest.startswith("test-") and lctest.endswith(ext):