aboutsummaryrefslogtreecommitdiff
path: root/bench.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-08-22 19:34:03 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-08-22 20:30:06 +0200
commit57afdea435e2fb22306d038f52f39852a74c7bdd (patch)
treed7ce3e43a3a7ea1ca3e0b0584ac00b45c76736e0 /bench.py
parentb260a2f2ccd8e6b81085f132849c8df41488af49 (diff)
downloadallocbench-57afdea435e2fb22306d038f52f39852a74c7bdd.tar.gz
allocbench-57afdea435e2fb22306d038f52f39852a74c7bdd.zip
remove duplicate check if we really should run the benchmark
Diffstat (limited to 'bench.py')
-rwxr-xr-xbench.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench.py b/bench.py
index 6360db5..d27200e 100755
--- a/bench.py
+++ b/bench.py
@@ -246,9 +246,9 @@ def main():
else:
print_error("malt not found. Skipping analyse.")
- if args.runs > 1:
+ if args.runs > 0:
print_status("Running", bench.name, "...")
- bench.run(runs=args.runs)
+ bench.run(runs=args.runs)
if need_resultdir:
print_info2("Changing cwd to:", resdir)