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.
This commit is contained in:
Joseph Myers 2020-01-20 11:29:41 +00:00
parent aba12794dc
commit 92ce43eef7

View File

@ -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 \