aboutsummaryrefslogtreecommitdiff
path: root/bench.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-07-11 21:09:59 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-07-11 21:09:59 +0200
commit3bf39c214f62a43aa8b0e72112d65f079509f08a (patch)
tree0a8e6973654ffc302916f64362f9e778119d5ddc /bench.py
parentbdd47a691e5780a5b69d373382b343194fa123d9 (diff)
downloadallocbench-3bf39c214f62a43aa8b0e72112d65f079509f08a.tar.gz
allocbench-3bf39c214f62a43aa8b0e72112d65f079509f08a.zip
[globalvars] remove list of available benchmarks from globalvars.BENCHMARK to benchmark.AVAIL_BENCHMARKS
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 8d786d5..925159b 100755
--- a/bench.py
+++ b/bench.py
@@ -165,11 +165,11 @@ def main():
# warn about unknown benchmarks
for bench in (args.benchmarks or []) + (args.exclude_benchmarks or []):
- if bench not in allocbench.globalvars.BENCHMARKS:
+ if bench not in allocbench.benchmark.AVAIL_BENCHMARKS:
print_error(f'Benchmark "{bench}" unknown!')
# Run actual benchmarks
- for bench in allocbench.globalvars.BENCHMARKS:
+ for bench in allocbench.benchmark.AVAIL_BENCHMARKS:
if args.benchmarks and bench not in args.benchmarks:
continue