Use gdb.sum to calculate the regressions on try builds
This commit is contained in:
parent
47fd6057e8
commit
cc63fe71e7
1 changed files with 3 additions and 8 deletions
|
@ -60,15 +60,10 @@ class GdbCatSumfileCommand(ShellCommand):
|
||||||
|
|
||||||
parser = DejaResults()
|
parser = DejaResults()
|
||||||
cur_results = parser.read_sum_text(self.getLog('stdio').getText())
|
cur_results = parser.read_sum_text(self.getLog('stdio').getText())
|
||||||
if not istrysched or istrysched == 'no':
|
|
||||||
baseline = parser.read_baseline (builder, branch)
|
|
||||||
old_sum = parser.read_old_sum_file (builder, branch)
|
|
||||||
else:
|
|
||||||
# TODO: We'd probably be able to just call read_sum_file
|
|
||||||
# for both cases. Investigate.
|
|
||||||
baseline = parser.read_baseline (builder, branch)
|
baseline = parser.read_baseline (builder, branch)
|
||||||
old_sum = parser.read_sum_file (builder, branch)
|
old_sum = parser.read_sum_file (builder, branch)
|
||||||
result = SUCCESS
|
result = SUCCESS
|
||||||
|
|
||||||
if baseline is not None:
|
if baseline is not None:
|
||||||
report = parser.compute_regressions (builder, branch,
|
report = parser.compute_regressions (builder, branch,
|
||||||
cur_results, baseline)
|
cur_results, baseline)
|
||||||
|
|
Loading…
Reference in a new issue