From 92ce43eef7ac844782d50a8015d977d216fbadec Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 20 Jan 2020 11:29:41 +0000 Subject: Run bench-timing-type with newly built libc. benchtests/timing-type is built with the newly built libc, so should be run with it like actual tests and benchmarks. --- benchtests/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'benchtests') diff --git a/benchtests/Makefile b/benchtests/Makefile index 99c3fae..71b9565 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 \ -- cgit v1.1