aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-24 00:08:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-24 00:08:46 +0000
commit03ac099f6bc9157cdec50db10944e1d99ff07aa1 (patch)
tree9d818c011b71b40675d7de9779f1a4751fc5541c /elf
parentebfd1bbd04fcc82c34d6f46d942ab763a60ede03 (diff)
downloadglibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.zip
glibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.tar.gz
glibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.tar.bz2
Define and use $(run-built-tests).
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile
index c8ae77d..4f092ab 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -161,7 +161,7 @@ tests += tst-audit6 tst-audit7
endif
endif
endif
-ifeq ($(cross-compiling),no)
+ifeq ($(run-built-tests),yes)
tests: $(objpfx)tst-leaks1-mem $(objpfx)tst-leaks1-static-mem \
$(objpfx)noload-mem
endif
@@ -438,7 +438,7 @@ test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(strip $(modules-names))))
generated += $(addsuffix .so,$(strip $(modules-names)))
ifeq (yes,$(build-shared))
-ifeq ($(cross-compiling),no)
+ifeq ($(run-built-tests),yes)
tests: $(objpfx)tst-pathopt.out $(objpfx)tst-rtld-load-self.out
endif
endif
@@ -1174,7 +1174,7 @@ $(objpfx)tst-relsort1mod2.so: $(libm)
$(objpfx)tst-relsort1.out: $(objpfx)tst-relsort1mod1.so \
$(objpfx)tst-relsort1mod2.so
-ifeq ($(cross-compiling),no)
+ifeq ($(run-built-tests),yes)
tests: $(objpfx)tst-unused-dep.out
endif