tests/run-tests.py
changeset 19311 ad16e5c7a429
parent 19304 59d5281b5799
child 19312 aedb4d0012ff
--- 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):