diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-11 21:09:59 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-11 21:09:59 +0200 |
| commit | 3bf39c214f62a43aa8b0e72112d65f079509f08a (patch) | |
| tree | 0a8e6973654ffc302916f64362f9e778119d5ddc /bench.py | |
| parent | bdd47a691e5780a5b69d373382b343194fa123d9 (diff) | |
| download | allocbench-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-x | bench.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
