Browse Source

prism-auto: handle case of a 0 time out

Print test statistics also in the (not particularly useful) case that the timeout is set to 0 by testing against None instead to see if a timeout was set.
master
Joachim Klein 8 years ago
parent
commit
3653d64604
  1. 2
      prism/etc/scripts/prism-auto

2
prism/etc/scripts/prism-auto

@ -667,7 +667,7 @@ def printTestStatistics():
printColoured('SKIPPED', ' Skipped: ' + str(testStats['SKIPPED']))
if options.skipDuplicates:
printColoured('SKIPPED', ' Skipped dup.: ' + str(testStats['DUPLICATE']) + ' (due to --skip-duplicate-runs)')
if options.timeout:
if options.timeout is not None:
printColoured('FAILURE', ' Timeouts: ' + str(testStats['TIMEOUT']))
def countTestResult(msg):

Loading…
Cancel
Save