Migrating the xfail file to each builder
This commit is contained in:
parent
023a791787
commit
57326f7ef2
2 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ class GdbCatSumfileCommand(ShellCommand):
|
||||||
baseline = parser.read_sum_file(builder, rev)
|
baseline = parser.read_sum_file(builder, rev)
|
||||||
result = SUCCESS
|
result = SUCCESS
|
||||||
if baseline is not None:
|
if baseline is not None:
|
||||||
report = parser.compute_regressions(cur_results, baseline)
|
report = parser.compute_regressions(cur_results, builder, baseline)
|
||||||
if report is not '':
|
if report is not '':
|
||||||
self.addCompleteLog('regressions', report)
|
self.addCompleteLog('regressions', report)
|
||||||
result = FAILURE
|
result = FAILURE
|
||||||
|
|
|
@ -93,14 +93,14 @@ class DejaResults(object):
|
||||||
self.parse_sum_line(cur_results, line)
|
self.parse_sum_line(cur_results, line)
|
||||||
return cur_results
|
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.
|
# BASELINE will be modified if any new PASSes are seen.
|
||||||
# Returns a regression report, as a string.
|
# 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 = results.keys()
|
||||||
our_keys.sort()
|
our_keys.sort()
|
||||||
result = ''
|
result = ''
|
||||||
xfails = self.read_sum_file('', 'xfail')
|
xfails = self.read_sum_file(builder, 'xfail')
|
||||||
if xfails is None:
|
if xfails is None:
|
||||||
xfails = {}
|
xfails = {}
|
||||||
for key in our_keys:
|
for key in our_keys:
|
||||||
|
|
Loading…
Reference in a new issue