Migrating the xfail file to each builder

This commit is contained in:
Sergio Durigan Junior 2014-12-20 20:47:56 -05:00
parent 023a791787
commit 57326f7ef2
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ class GdbCatSumfileCommand(ShellCommand):
baseline = parser.read_sum_file(builder, rev)
result = SUCCESS
if baseline is not None:
report = parser.compute_regressions(cur_results, baseline)
report = parser.compute_regressions(cur_results, builder, baseline)
if report is not '':
self.addCompleteLog('regressions', report)
result = FAILURE

View file

@ -93,14 +93,14 @@ class DejaResults(object):
self.parse_sum_line(cur_results, line)
return cur_results
# Compute regressions between RESULTS and BASELINE.
# Compute regressions between RESULTS and BASELINE on BUILDER.
# BASELINE will be modified if any new PASSes are seen.
# Returns a regression report, as a string.
def compute_regressions(self, results, baseline):
def compute_regressions(self, builder, results, baseline):
our_keys = results.keys()
our_keys.sort()
result = ''
xfails = self.read_sum_file('', 'xfail')
xfails = self.read_sum_file(builder, 'xfail')
if xfails is None:
xfails = {}
for key in our_keys: