tests/run-tests.py
changeset 14446 95715c2f90bf
parent 14359 ad5c68a0db6a
child 14447 f63b7fb4b5f6
--- 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")