test runner: fix wildcard handling in test status files

Review URL: https://codereview.chromium.org/10986086

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12632 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7dada9fd
......@@ -96,14 +96,17 @@ class TestSuite(object):
if statusfile.DoSkip(outcomes):
continue # Don't add skipped tests to |filtered|.
if len(self.wildcards) != 0:
skip = False
for rule in self.wildcards:
assert rule[-1] == '*'
if testname.startswith(rule[:-1]):
used_rules.add(rule)
outcomes = self.wildcards[rule]
if statusfile.DoSkip(outcomes):
continue
t.outcomes = outcomes
if statusfile.DoSkip(outcomes):
skip = True
break # "for rule in self.wildcards"
if skip: continue # "for t in self.tests"
filtered.append(t)
self.tests = filtered
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment