More fixes to racy detection
This commit is contained in:
parent
30a2648b24
commit
f561d36e23
2 changed files with 4 additions and 3 deletions
|
@ -18,7 +18,7 @@ class GDBAnalyzeRacyTests (ShellCommand):
|
|||
|
||||
p = DejaResults ()
|
||||
|
||||
racy_tests = p.read_sum_text (self.getLog ('stdio').getText ())
|
||||
racy_tests = p.read_racy_sum_text (self.getLog ('stdio').getText ())
|
||||
xfails = p.read_xfail (builder, branch)
|
||||
|
||||
if not racy_tests or not racy_tests[1]:
|
||||
|
|
|
@ -9,7 +9,7 @@ from collections import OrderedDict
|
|||
|
||||
# Helper regex for parse_sum_line.
|
||||
sum_matcher = re.compile('^(.?(PASS|FAIL)): (.*)$')
|
||||
racy_file_matcher = re.compile ('^(gdb\.*)')
|
||||
racy_file_matcher = re.compile ('^(gdb\..*)')
|
||||
|
||||
# You must call set_web_base at startup to set this.
|
||||
gdb_web_base = None
|
||||
|
@ -116,7 +116,8 @@ class DejaResults(object):
|
|||
result.append (dict ())
|
||||
with open (fname, 'r') as f:
|
||||
for line in f:
|
||||
self.parse_sum_line (result, line, is_racy_file)
|
||||
self.parse_sum_line (result, line,
|
||||
is_racy_file = is_racy_file)
|
||||
else:
|
||||
result = None
|
||||
return result
|
||||
|
|
Loading…
Reference in a new issue