changeset 25048:6b8ddf896463

run-tests: refer to test.bname when sniffing for keywords
author Augie Fackler <augie@google.com>
date Mon, 13 Apr 2015 16:30:40 -0400
parents 8c7e938c8146
children 55f1ac2797cc
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Mon Apr 13 15:57:10 2015 -0400
+++ b/tests/run-tests.py	Mon Apr 13 16:30:40 2015 -0400
@@ -1405,7 +1405,7 @@
 
                 if self._keywords:
                     f = open(test.path, 'rb')
-                    t = f.read().lower() + test.name.lower()
+                    t = f.read().lower() + test.bname.lower()
                     f.close()
                     ignored = False
                     for k in self._keywords.lower().split():