Mercurial > public > mercurial-scm > hg-stable
comparison tests/run-tests.py @ 34273:cd2ee4db8f95
tests: fix test-is-whitelisted check in run-tests
Again, look for bytes in a set of bytes objects.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 19 Sep 2017 00:07:51 -0400 |
parents | df1c290df034 |
children | 25fce08b36c8 |
comparison
equal
deleted
inserted
replaced
34272:df1c290df034 | 34273:cd2ee4db8f95 |
---|---|
1851 return test | 1851 return test |
1852 if not os.path.exists(test.path): | 1852 if not os.path.exists(test.path): |
1853 result.addSkip(test, "Doesn't exist") | 1853 result.addSkip(test, "Doesn't exist") |
1854 continue | 1854 continue |
1855 | 1855 |
1856 if not (self._whitelist and test.name in self._whitelist): | 1856 if not (self._whitelist and test.bname in self._whitelist): |
1857 if self._blacklist and test.bname in self._blacklist: | 1857 if self._blacklist and test.bname in self._blacklist: |
1858 result.addSkip(test, 'blacklisted') | 1858 result.addSkip(test, 'blacklisted') |
1859 continue | 1859 continue |
1860 | 1860 |
1861 if self._retest and not os.path.exists(test.errpath): | 1861 if self._retest and not os.path.exists(test.errpath): |