Browse Source

Fixed benchmark script for new command line options

Former-commit-id: d2df6bd5a4
tempestpy_adaptions
Mavo 9 years ago
parent
commit
da90b5fcd0
  1. 4
      benchmark_dft.py

4
benchmark_dft.py

@ -51,7 +51,7 @@ def run_storm_dft(filename, prop, parametric, quiet):
dft_file = os.path.join(EXAMPLE_DIR, filename + ".dft") dft_file = os.path.join(EXAMPLE_DIR, filename + ".dft")
args = [STORM_PATH, args = [STORM_PATH,
dft_file, dft_file,
'--prop', prop]
prop]
if parametric: if parametric:
args.append('--parametric') args.append('--parametric')
@ -88,7 +88,7 @@ if __name__ == "__main__":
args = parser.parse_args() args = parser.parse_args()
count = 0 count = 0
correct = 0 correct = 0
properties = ["ET=? [F \"failed\"]", "P=? [F \"failed\"]"]
properties = ['--expectedtime', '--probability']
start = time.time() start = time.time()
for index, prop in enumerate(properties): for index, prop in enumerate(properties):
for (benchmark, parametric, result_original) in benchmarks: for (benchmark, parametric, result_original) in benchmarks:

Loading…
Cancel
Save