aboutsummaryrefslogtreecommitdiff
path: root/bench.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-07-19 17:09:33 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-07-19 17:09:33 +0200
commitf6228773b80fb5808d855cbb7e031ec7324462a2 (patch)
tree6dbf93ba3c48d23f1ad801a62a3b5574026b349a /bench.py
parent4dc95d03d37d1093bb7800a0b62a1d7fed4e35a7 (diff)
downloadallocbench-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-xbench.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/bench.py b/bench.py
index 9b3c1c9..f821e33 100755
--- a/bench.py
+++ b/bench.py
@@ -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)