diff options
author | Joseph Myers <joseph@codesourcery.com> | 2020-01-20 11:29:41 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2020-01-20 11:29:41 +0000 |
commit | 92ce43eef7ac844782d50a8015d977d216fbadec (patch) | |
tree | 5a72cd776a98b1983794a0ae4f2b4cfb520ba0a0 /benchtests/Makefile | |
parent | aba12794dc0d1835b9652f34df722970b1bd3397 (diff) | |
download | glibc-92ce43eef7ac844782d50a8015d977d216fbadec.tar.gz |
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.
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r-- | benchtests/Makefile | 5 |
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 \ |