Fixing report of XFAIL tests by email

This commit is contained in:
Sergio Durigan Junior 2016-06-02 19:12:47 -04:00
parent d91f0e6399
commit 199f4ab3e4
2 changed files with 2 additions and 3 deletions

View file

@ -20,12 +20,12 @@ class GDBAnalyzeRacyTests (ShellCommand):
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
msg = "*** Regressions found ***\n"
msg += "============================\n"
for t in racy_tests:
for t in racy_tests[0]:
msg += "FAIL: %s\n" % t
msg += "============================\n"

View file

@ -39,7 +39,6 @@ class DejaResults(object):
line = line.rstrip()
if not is_racy_file:
# Removing special XFAIL comment added by script.
line = re.sub (' ##\|##.*', '', line)
m = re.match(sum_matcher, line)
else:
m = re.match (racy_file_matcher, line)