tests: fix test-is-whitelisted check in run-tests
authorAugie Fackler <augie@google.com>
Tue, 19 Sep 2017 00:07:51 -0400
changeset 34266 cd2ee4db8f95
parent 34265 df1c290df034
child 34267 25fce08b36c8
tests: fix test-is-whitelisted check in run-tests Again, look for bytes in a set of bytes objects.
tests/run-tests.py
--- 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