Fixing the comparison of testcases by istry
This commit is contained in:
parent
1dc62ca8ce
commit
023a791787
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class GdbCatSumfileCommand(ShellCommand):
|
||||||
branch = 'master'
|
branch = 'master'
|
||||||
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 istry:
|
if not istry or istry == 'no':
|
||||||
baseline = parser.read_baseline (builder, branch)
|
baseline = parser.read_baseline (builder, branch)
|
||||||
else:
|
else:
|
||||||
baseline = parser.read_sum_file(builder, rev)
|
baseline = parser.read_sum_file(builder, rev)
|
||||||
|
@ -30,7 +30,7 @@ class GdbCatSumfileCommand(ShellCommand):
|
||||||
if report is not '':
|
if report is not '':
|
||||||
self.addCompleteLog('regressions', report)
|
self.addCompleteLog('regressions', report)
|
||||||
result = FAILURE
|
result = FAILURE
|
||||||
if istry:
|
if not istry or istry == 'no':
|
||||||
parser.write_sum_file(cur_results, builder, rev)
|
parser.write_sum_file(cur_results, builder, rev)
|
||||||
# If there was no previous baseline, then this run
|
# If there was no previous baseline, then this run
|
||||||
# gets the honor.
|
# gets the honor.
|
||||||
|
|
Loading…
Reference in a new issue