From 023a79178714d58253488875f73896824969d466 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sat, 20 Dec 2014 20:37:10 -0500 Subject: [PATCH] Fixing the comparison of testcases by istry --- lib/gdbcommand.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gdbcommand.py b/lib/gdbcommand.py index 4a5ea2b..f6594ab 100644 --- a/lib/gdbcommand.py +++ b/lib/gdbcommand.py @@ -20,7 +20,7 @@ class GdbCatSumfileCommand(ShellCommand): branch = 'master' parser = DejaResults() cur_results = parser.read_sum_text(self.getLog('stdio').getText()) - if istry: + if not istry or istry == 'no': baseline = parser.read_baseline (builder, branch) else: baseline = parser.read_sum_file(builder, rev) @@ -30,7 +30,7 @@ class GdbCatSumfileCommand(ShellCommand): if report is not '': self.addCompleteLog('regressions', report) result = FAILURE - if istry: + if not istry or istry == 'no': parser.write_sum_file(cur_results, builder, rev) # If there was no previous baseline, then this run # gets the honor.