about summary refs log tree commit diff
path: root/sysdeps/pthread/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 01:21:46 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 01:21:46 +0000
commitc0463e8b79ca650b60badc5b9c0d574b91aa8d01 (patch)
treed2aa3554be681b2b8c51367e295fdf8f2ed1fbeb /sysdeps/pthread/Makefile
parent1905cf47bcfb53d9f7e640db83e43bbe32f9fa4a (diff)
downloadglibc-c0463e8b79ca650b60badc5b9c0d574b91aa8d01.tar.gz
glibc-c0463e8b79ca650b60badc5b9c0d574b91aa8d01.tar.xz
glibc-c0463e8b79ca650b60badc5b9c0d574b91aa8d01.zip
pthread: Move some join tests from nptl to sysdeps/pthread
So they can be checked with htl too.
Diffstat (limited to 'sysdeps/pthread/Makefile')
-rw-r--r--sysdeps/pthread/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index c102f45b6a..396f2b18bf 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -51,6 +51,7 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
 	 tst-cond14 tst-cond15 tst-cond16 tst-cond17 tst-cond18 tst-cond19 \
 	 tst-cond23 tst-cond24 tst-cond25 \
 	 tst-cond-except \
+	 tst-join1 tst-join4 tst-join5 tst-join6 tst-join7 \
 	 tst-key1 tst-key2 tst-key3 tst-key4 \
 	 tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex6 tst-mutex10 \
 	 tst-once1 tst-once2 tst-once3 tst-once4 \
@@ -62,6 +63,8 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
 
 tests += tst-oncex3 tst-oncex4
 
+modules-names += tst-join7mod
+
 ifeq ($(build-shared),yes)
 tests-static += tst-cond8-static
 tests += tst-cond8-static
@@ -70,4 +73,9 @@ endif
 CFLAGS-tst-oncex3.c += -fexceptions
 CFLAGS-tst-oncex4.c += -fexceptions
 
+$(objpfx)tst-join7: $(libdl) $(shared-thread-library)
+$(objpfx)tst-join7.out: $(objpfx)tst-join7mod.so
+$(objpfx)tst-join7mod.so: $(shared-thread-library)
+LDFLAGS-tst-join7mod.so = -Wl,-soname,tst-join7mod.so
+
 endif