summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2014-04-11 11:25:53 -0700
committerPaul Pluzhnikov <ppluzhnikov@google.com>2014-04-11 11:25:53 -0700
commit95561fb9c55acccc2a5d5daac145fd3daeb27fa7 (patch)
tree77121f2244dc0598ec090fe5d3d0109169a9e520 /elf
parent970c602aa60bb29845c445c18d7b20f7c4552b78 (diff)
2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
* elf/Makefile (tests): make tst-dlopen-aout conditional on enable-hardcoded-path-in-tests
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index d96cd40743..7ff3da2dfb 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)