[patch][committed] Disable tst-dlopen-atout unless --enable-hardcoded-path-in-tests

Paul Pluzhnikov ppluzhnikov@google.com
Fri Apr 11 18:27:00 GMT 2014


Greetings,

I've committed the patch below as obvious.

Tested on Linux/x86_64 with and without --enable-hardcoded-path-in-tests

Sorry about the breakage.
--

2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* elf/Makefile (tests): make tst-dlopen-aout conditional on
	enable-hardcoded-path-in-tests




diff --git a/elf/Makefile b/elf/Makefile
index d96cd40..7ff3da2 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -148,8 +148,11 @@ tests += loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
 	 tst-stackguard1 tst-addr1 tst-thrlock \
 	 tst-unique1 tst-unique2 tst-unique3 tst-unique4 \
 	 tst-initorder tst-initorder2 tst-relsort1 tst-null-argv \
-	 tst-ptrguard1 tst-dlopen-aout
+	 tst-ptrguard1
 #	 reldep9
+ifeq ($(build-hardcoded-path-in-tests),yes)
+tests += tst-dlopen-aout
+endif
 test-srcs = tst-pathopt
 selinux-enabled := $(shell cat /selinux/enforce 2> /dev/null)
 ifneq ($(selinux-enabled),1)



More information about the Libc-alpha mailing list