tests/run-tests.py
branchstable
changeset 1272 4a224ed7e923
parent 1270 79e0df6ffaad
child 1273 4598906608cf
--- a/tests/run-tests.py	Fri Jun 07 16:04:11 2013 -0500
+++ 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):