Mercurial > hg-stable
changeset 19311:ad16e5c7a429
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.
author | simon@laptop-tosh |
---|---|
date | Sun, 09 Jun 2013 16:42:55 +0200 |
parents | 30ea54660d14 |
children | aedb4d0012ff |
files | tests/run-tests.py |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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):