Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Mon, 07 Mar 2011 14:34:27 +0100
changeset 883 460ab7a133ac
parent 881 cd432ceb6544 (current diff)
parent 882 c3681742c0c7 (diff)
child 885 57f7a3817083
Merge with stable
--- a/tests/run-tests.py	Tue Feb 15 10:40:29 2011 +0100
+++ b/tests/run-tests.py	Mon Mar 07 14:34:27 2011 +0100
@@ -227,8 +227,8 @@
                 continue
 
             for line in f.readlines():
-                line = line.strip()
-                if line and not line.startswith('#'):
+                line = line.split('#', 1)[0].strip()
+                if line:
                     blacklist[line] = filename
 
             f.close()