aboutsummaryrefslogtreecommitdiff
path: root/bench.py
diff options
context:
space:
mode:
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)