Browse Source

Fix in prism-auto: do not look for matching export files unless we need to.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9972 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 11 years ago
parent
commit
79eda01716
  1. 4
      prism/etc/scripts/prism-auto

4
prism/etc/scripts/prism-auto

@ -342,8 +342,6 @@ def benchmark(file, args, dir=""):
args = addExtraArgs(args)
# Expand output files to full paths
args = expandFilenames(args, dir)
# Determine which out files apply to this benchmark from the -export switches
outFiles = getExpectedOutFilesFromArgs(args)
# Rename export files to avoid overriding out files
exportPrefix = 'tmp.'
@ -369,6 +367,8 @@ def benchmark(file, args, dir=""):
# Verify that exported files are correct (if required)
if not options.echo and outFiles and options.test:
# Determine which out files apply to this benchmark from the -export switches
outFiles = getExpectedOutFilesFromArgs(args)
# print "Out files to verify exports against: " + ' '.join(outFiles)
allEqual = verifyAndCleanupExports(outFiles, exportPrefix)
if (not allEqual) and (not options.testAll):

Loading…
Cancel
Save