From cc63fe71e70e7cbec0084481ffb6d18fad9df40d Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 29 Jul 2016 11:15:32 -0400 Subject: [PATCH] Use gdb.sum to calculate the regressions on try builds --- lib/gdbcommand.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/gdbcommand.py b/lib/gdbcommand.py index 116917c..e574205 100644 --- a/lib/gdbcommand.py +++ b/lib/gdbcommand.py @@ -60,15 +60,10 @@ class GdbCatSumfileCommand(ShellCommand): parser = DejaResults() 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) - old_sum = parser.read_sum_file (builder, branch) + baseline = parser.read_baseline (builder, branch) + old_sum = parser.read_sum_file (builder, branch) result = SUCCESS + if baseline is not None: report = parser.compute_regressions (builder, branch, cur_results, baseline)