Fixing report of XFAIL tests by email
This commit is contained in:
parent
d91f0e6399
commit
199f4ab3e4
2 changed files with 2 additions and 3 deletions
|
@ -20,12 +20,12 @@ class GDBAnalyzeRacyTests (ShellCommand):
|
||||||
|
|
||||||
racy_tests = p.read_racy_sum_text (self.getLog ('stdio').getText ())
|
racy_tests = p.read_racy_sum_text (self.getLog ('stdio').getText ())
|
||||||
|
|
||||||
if not racy_tests or not racy_tests[1]:
|
if not racy_tests:
|
||||||
return SUCCESS
|
return SUCCESS
|
||||||
|
|
||||||
msg = "*** Regressions found ***\n"
|
msg = "*** Regressions found ***\n"
|
||||||
msg += "============================\n"
|
msg += "============================\n"
|
||||||
for t in racy_tests:
|
for t in racy_tests[0]:
|
||||||
msg += "FAIL: %s\n" % t
|
msg += "FAIL: %s\n" % t
|
||||||
msg += "============================\n"
|
msg += "============================\n"
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ class DejaResults(object):
|
||||||
line = line.rstrip()
|
line = line.rstrip()
|
||||||
if not is_racy_file:
|
if not is_racy_file:
|
||||||
# Removing special XFAIL comment added by script.
|
# Removing special XFAIL comment added by script.
|
||||||
line = re.sub (' ##\|##.*', '', line)
|
|
||||||
m = re.match(sum_matcher, line)
|
m = re.match(sum_matcher, line)
|
||||||
else:
|
else:
|
||||||
m = re.match (racy_file_matcher, line)
|
m = re.match (racy_file_matcher, line)
|
||||||
|
|
Loading…
Reference in a new issue