diff --git a/lib/racyanalyze.py b/lib/racyanalyze.py index 7d30174..87c2bf4 100644 --- a/lib/racyanalyze.py +++ b/lib/racyanalyze.py @@ -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" diff --git a/lib/sumfiles.py b/lib/sumfiles.py index 9ffb821..1039103 100644 --- a/lib/sumfiles.py +++ b/lib/sumfiles.py @@ -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)