From patchwork Mon Mar 7 20:37:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lu, Hongjiu" X-Patchwork-Id: 11245 Received: (qmail 70219 invoked by alias); 7 Mar 2016 20:37:26 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 70208 invoked by uid 89); 7 Mar 2016 20:37:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL, BAYES_40, KAM_LAZY_DOMAIN_SECURITY, NO_DNS_FOR_FROM, RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:mga04.intel.com, HX-HELO:mga04.intel.com, H*RU:192.55.52.120, Hx-spam-relays-external:192.55.52.120 X-HELO: mga04.intel.com X-ExtLoop1: 1 Date: Mon, 7 Mar 2016 12:37:23 -0800 From: "H.J. Lu" To: GNU C Library Subject: [PATCH] Support --enable-hardcoded-path-in-tests in benchtests Message-ID: <20160307203723.GA31687@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) benchtests should use $(test-via-rtld-prefix) and $(+link-tests) like other glibc tests. OK for master? H.J. --- [BZ #19783] * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with $(test-via-rtld-prefix). ($(binaries-bench)): Replace $(+link) with $(+link-tests). --- benchtests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchtests/Makefile b/benchtests/Makefile index 2b553f8..a37d666 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -118,7 +118,7 @@ bench-deps := bench-skeleton.c bench-timing.h Makefile run-bench = $(test-wrapper-env) \ $(run-program-env) \ - $($*-ENV) $(rtld-prefix) $${run} + $($*-ENV) $(test-via-rtld-prefix) $${run} timing-type := $(objpfx)bench-timing-type @@ -172,7 +172,7 @@ $(timing-type) $(binaries-bench) $(binaries-benchset) \ $(binaries-bench-malloc): %: %.o $(objpfx)json-lib.o \ $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \ $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit) - $(+link) + $(+link-tests) $(objpfx)bench-%.c: %-inputs $(bench-deps) { if [ -n "$($*-INCLUDE)" ]; then \