From: Joseph Myers Date: Mon, 20 Jan 2020 11:29:41 +0000 (+0000) Subject: Run bench-timing-type with newly built libc. X-Git-Tag: glibc-2.31~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92ce43eef7ac844782d50a8015d977d216fbadec;p=thirdparty%2Fglibc.git 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. --- diff --git a/benchtests/Makefile b/benchtests/Makefile index 99c3fae9bfd..71b9565fed2 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 \