# HG changeset patch # User Idan Kamara # Date 1306507607 -10800 # Node ID 95715c2f90bff7a06801317b61f8d4836caf192c # Parent 61f51f4a9a3b2fd76786fe0db88c4a10298975ee run-tests: slightly simplify blacklist check diff -r 61f51f4a9a3b -r 95715c2f90bf tests/run-tests.py --- a/tests/run-tests.py Fri May 27 08:50:27 2011 -0500 +++ b/tests/run-tests.py Fri May 27 17:46:47 2011 +0300 @@ -733,11 +733,9 @@ 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")