Browse Source

prism-auto: integrate warning for missing files (export check) into warning tracking / colour printing

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12194 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Joachim Klein 9 years ago
parent
commit
ed01390e40
  1. 3
      prism/etc/scripts/prism-auto

3
prism/etc/scripts/prism-auto

@ -312,7 +312,8 @@ def getExpectedOutFilesFromArgs(args):
fullName = base + str(i) + '.' + ext
foundFile = True
if not foundFile:
print('\033[93m' + "Warning: There is no file of the form " + base + "[number]." + ext + " to compare against -- will skip" + '\033[0m')
printColoured('WARNING', "Warning: There is no file of the form " + base + "[number]." + ext + " to compare against -- will skip")
incrementTestStat('WARNING')
return resultFiles
# Create a valid name for a log file based on a list of benchmark arguments

Loading…
Cancel
Save