diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-19 17:09:33 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-19 17:09:33 +0200 |
| commit | f6228773b80fb5808d855cbb7e031ec7324462a2 (patch) | |
| tree | 6dbf93ba3c48d23f1ad801a62a3b5574026b349a /bench.py | |
| parent | 4dc95d03d37d1093bb7800a0b62a1d7fed4e35a7 (diff) | |
| download | allocbench-f6228773b80fb5808d855cbb7e031ec7324462a2.tar.gz allocbench-f6228773b80fb5808d855cbb7e031ec7324462a2.zip | |
add simple integration test with a new dummy benchmark and the system default allocator
Diffstat (limited to 'bench.py')
| -rwxr-xr-x | bench.py | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -130,10 +130,12 @@ def main(): # Prepare allocbench print_status("Building allocbench ...") - make_cmd = ["make"] - if args.verbose < 2: - make_cmd.append("-s") - run_cmd(make_cmd, output_verbosity=1) + # TODO: sort out recursive makes when running integration tests through our Makefile + if not 'MAKELEVEL' in os.environ: + make_cmd = ["make", "-d"] + if args.verbose < 2: + make_cmd.append("-s") + run_cmd(make_cmd, output_verbosity=1) # allocators to benchmark allocators = collect_allocators(args.allocators) |
