]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Run bench-timing-type with newly built libc.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 20 Jan 2020 11:29:41 +0000 (11:29 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 20 Jan 2020 11:29:41 +0000 (11:29 +0000)
benchtests/timing-type is built with the newly built libc, so should
be run with it like actual tests and benchmarks.

benchtests/Makefile

index 99c3fae9bfdb4af3e1949cc731f4ca88deb765ce..71b9565fed2a4981e6be7bedeeb7eb9c03116c56 100644 (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 \