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.
--- 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):