comparison tests/run-tests.py @ 25446:d79258e30499

run-tests: blacklist entries are bytes, use bname to check blacklisting
author Augie Fackler <augie@google.com>
date Mon, 13 Apr 2015 17:17:17 -0400
parents 4f2c74ef8128
children e5f6c6ec21b8
comparison
equal deleted inserted replaced
25445:af5a778f8e2e 25446:d79258e30499
1398 if not os.path.exists(test.path): 1398 if not os.path.exists(test.path):
1399 result.addSkip(test, "Doesn't exist") 1399 result.addSkip(test, "Doesn't exist")
1400 continue 1400 continue
1401 1401
1402 if not (self._whitelist and test.name in self._whitelist): 1402 if not (self._whitelist and test.name in self._whitelist):
1403 if self._blacklist and test.name in self._blacklist: 1403 if self._blacklist and test.bname in self._blacklist:
1404 result.addSkip(test, 'blacklisted') 1404 result.addSkip(test, 'blacklisted')
1405 continue 1405 continue
1406 1406
1407 if self._retest and not os.path.exists(test.errpath): 1407 if self._retest and not os.path.exists(test.errpath):
1408 result.addIgnore(test, 'not retesting') 1408 result.addIgnore(test, 'not retesting')