From 3bf39c214f62a43aa8b0e72112d65f079509f08a Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 11 Jul 2020 21:09:59 +0200 Subject: [globalvars] remove list of available benchmarks from globalvars.BENCHMARK to benchmark.AVAIL_BENCHMARKS --- bench.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench.py') 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 -- cgit v1.2.3