changeset 34266: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
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Tue Sep 19 00:07:23 2017 -0400
+++ b/tests/run-tests.py	Tue Sep 19 00:07:51 2017 -0400
@@ -1853,7 +1853,7 @@
                 result.addSkip(test, "Doesn't exist")
                 continue
 
-            if not (self._whitelist and test.name in self._whitelist):
+            if not (self._whitelist and test.bname in self._whitelist):
                 if self._blacklist and test.bname in self._blacklist:
                     result.addSkip(test, 'blacklisted')
                     continue