tests/run-tests.py
branchstable
changeset 882 c3681742c0c7
parent 880 0b9f0c42b566
child 895 1a9cd0b534a0
equal deleted inserted replaced
880:0b9f0c42b566 882:c3681742c0c7
   225                     raise
   225                     raise
   226                 print "warning: no such blacklist file: %s" % filename
   226                 print "warning: no such blacklist file: %s" % filename
   227                 continue
   227                 continue
   228 
   228 
   229             for line in f.readlines():
   229             for line in f.readlines():
   230                 line = line.strip()
   230                 line = line.split('#', 1)[0].strip()
   231                 if line and not line.startswith('#'):
   231                 if line:
   232                     blacklist[line] = filename
   232                     blacklist[line] = filename
   233 
   233 
   234             f.close()
   234             f.close()
   235 
   235 
   236         options.blacklist = blacklist
   236         options.blacklist = blacklist