diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-13 11:03:05 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-13 11:03:05 +0200 |
| commit | 8ccad6b29c15150e643c2302bd751d16aa294874 (patch) | |
| tree | ec01e0e05720f4df3259081a6631271950e431fb /bench.py | |
| parent | a2980bb14f909fbba31374bc203c4d530bf3fff0 (diff) | |
| download | allocbench-8ccad6b29c15150e643c2302bd751d16aa294874.tar.gz allocbench-8ccad6b29c15150e643c2302bd751d16aa294874.zip | |
move VERBOSITY from globalvars to util
Diffstat (limited to 'bench.py')
| -rwxr-xr-x | bench.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,6 +31,7 @@ from allocbench.benchmark import get_benchmark_object from allocbench.directories import get_current_result_dir, set_current_result_dir import allocbench.facter as facter import allocbench.globalvars +import allocbench.util from allocbench.util import run_cmd from allocbench.util import print_status, print_warn, print_error from allocbench.util import print_info, print_info2, print_debug @@ -127,14 +128,14 @@ def main(): # 2: Print all infos # 3: Print everything if args.verbose: - allocbench.globalvars.VERBOSITY = args.verbose + allocbench.util.VERBOSITY = args.verbose print_info2("Arguments:", args) # Prepare allocbench print_status("Building allocbench ...") make_cmd = ["make"] - if allocbench.globalvars.VERBOSITY < 2: + if allocbench.util.VERBOSITY < 2: make_cmd.append("-s") run_cmd(make_cmd, output_verbosity=1) |
