# HG changeset patch # User Idan Kamara # Date 2011-05-27 14:46:47 # Node ID 95715c2f90bff7a06801317b61f8d4836caf192c # Parent 61f51f4a9a3b2fd76786fe0db88c4a10298975ee run-tests: slightly simplify blacklist check diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -733,11 +733,9 @@ def runone(options, test): else: return None # not a supported test, don't record - if options.blacklist: - filename = options.blacklist.get(test) - if filename is not None: - skip("blacklisted") - return None + if options.blacklist and filename in options.blacklist: + skip("blacklisted") + return None if options.retest and not os.path.exists(test + ".err"): ignore("not retesting")