run-tests: ignoring tests works again
authorsimon@laptop-tosh
Sun, 09 Jun 2013 16:42:55 +0200
changeset 19311 ad16e5c7a429
parent 19310 30ea54660d14
child 19312 aedb4d0012ff
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.
tests/run-tests.py
--- a/tests/run-tests.py	Sat Jun 08 20:20:14 2013 +0200
+++ b/tests/run-tests.py	Sun Jun 09 16:42:55 2013 +0200
@@ -904,8 +904,7 @@
             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 @@
                 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):