aboutsummaryrefslogtreecommitdiff
path: root/benchtests
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2020-01-20 11:29:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2020-01-20 11:29:41 +0000
commit92ce43eef7ac844782d50a8015d977d216fbadec (patch)
tree5a72cd776a98b1983794a0ae4f2b4cfb520ba0a0 /benchtests
parentaba12794dc0d1835b9652f34df722970b1bd3397 (diff)
downloadglibc-92ce43eef7ac844782d50a8015d977d216fbadec.zip
glibc-92ce43eef7ac844782d50a8015d977d216fbadec.tar.gz
glibc-92ce43eef7ac844782d50a8015d977d216fbadec.tar.bz2
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')
-rw-r--r--benchtests/Makefile5
1 files changed, 4 insertions, 1 deletions
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 \