summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchtests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 99c3fae9bf..71b9565fed 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -217,7 +217,10 @@ bench-malloc: $(binaries-bench-malloc)
# capable language or tool.
bench-func: $(binaries-bench)
if [ -n '$^' ] ; then \
- { timing_type=$$($(timing-type)); \
+ { timing_type=$$($(test-wrapper-env) \
+ $(run-program-env) \
+ $(test-via-rtld-prefix) \
+ $(timing-type)); \
echo "{\"timing_type\": \"$${timing_type}\","; \
echo " \"functions\": {"; \
for run in $^; do \