diff options
Diffstat (limited to 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 320facf..9fcf3d6 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -367,6 +367,14 @@ xtests-static += tst-setuid1-static # These tests are linked with libc before libpthread tests-reverse += tst-cancel5 tst-cancel23 tst-vfork1x tst-vfork2x +ifeq ($(run-built-tests),yes) +tests-special += $(objpfx)tst-stack3-mem $(objpfx)tst-oddstacklimit.out +ifeq ($(build-shared),yes) +tests-special += $(objpfx)tst-tls6.out $(objpfx)tst-cleanup0-cmp.out \ + $(objpfx)tst-cancel-wrappers.out +endif +endif + include ../Rules ifeq (yes,$(build-shared)) @@ -457,9 +465,6 @@ LDFLAGS-tst-atfork2 = -rdynamic tst-atfork2-ENV = MALLOC_TRACE=$(objpfx)tst-atfork2.mtrace $(objpfx)tst-atfork2mod.so: $(shared-thread-library) -ifeq ($(run-built-tests),yes) -tests: $(objpfx)tst-stack3-mem -endif tst-stack3-ENV = MALLOC_TRACE=$(objpfx)tst-stack3.mtrace $(objpfx)tst-stack3-mem: $(objpfx)tst-stack3.out $(common-objpfx)malloc/mtrace $(objpfx)tst-stack3.mtrace > $@; \ @@ -482,9 +487,6 @@ LDFLAGS-tst-tls5 = $(no-as-needed) LDFLAGS-tst-tls5mod.so = -Wl,-soname,tst-tls5mod.so ifeq ($(build-shared),yes) -ifeq ($(run-built-tests),yes) -tests: $(objpfx)tst-tls6.out -endif $(objpfx)tst-tls6.out: tst-tls6.sh $(objpfx)tst-tls5 \ $(objpfx)tst-tls5moda.so $(objpfx)tst-tls5modb.so \ $(objpfx)tst-tls5modc.so $(objpfx)tst-tls5modd.so \ @@ -547,9 +549,6 @@ $(objpfx)tst-cleanup0.out: /dev/null $(objpfx)tst-cleanup0 $(make-test-out) > $@ 2>&1; \ $(evaluate-test) -ifeq ($(run-built-tests),yes) -tests: $(objpfx)tst-cleanup0-cmp.out -endif $(objpfx)tst-cleanup0-cmp.out: tst-cleanup0.expect $(objpfx)tst-cleanup0.out cmp $^ > $@; \ $(evaluate-test) @@ -583,7 +582,6 @@ endif ifeq ($(run-built-tests),yes) ifeq (yes,$(build-shared)) -tests: $(objpfx)tst-cancel-wrappers.out $(objpfx)tst-cancel-wrappers.out: tst-cancel-wrappers.sh $(SHELL) $< '$(NM)' \ $(common-objpfx)libc_pic.a \ @@ -606,8 +604,6 @@ tst-stackguard1-ARGS = --command "$(host-test-program-cmd) --child" tst-stackguard1-static-ARGS = --command "$(objpfx)tst-stackguard1-static --child" ifeq ($(run-built-tests),yes) -tests: $(objpfx)tst-oddstacklimit.out - $(objpfx)tst-oddstacklimit.out: $(objpfx)tst-oddstacklimit $(objpfx)tst-basic1 $(test-program-prefix) $< --command '$(host-test-program-cmd)' > $@; \ $(evaluate-test) |