]> sourceware.org Git - glibc.git/commitdiff
pthread: Move some join tests from nptl to sysdeps/pthread
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 10 Feb 2020 01:21:46 +0000 (01:21 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 10 Feb 2020 01:21:46 +0000 (01:21 +0000)
So they can be checked with htl too.

14 files changed:
nptl/Makefile
nptl/tst-join10.c
nptl/tst-join11.c
nptl/tst-join12.c
nptl/tst-join13.c
nptl/tst-join8.c
nptl/tst-join9.c
sysdeps/pthread/Makefile
sysdeps/pthread/tst-join1.c [moved from nptl/tst-join1.c with 100% similarity]
sysdeps/pthread/tst-join4.c [moved from nptl/tst-join4.c with 100% similarity]
sysdeps/pthread/tst-join5.c [moved from nptl/tst-join5.c with 100% similarity]
sysdeps/pthread/tst-join6.c [moved from nptl/tst-join6.c with 100% similarity]
sysdeps/pthread/tst-join7.c [moved from nptl/tst-join7.c with 100% similarity]
sysdeps/pthread/tst-join7mod.c [moved from nptl/tst-join7mod.c with 100% similarity]

index a72022a052701aac0fc9915a6bc5d4940c1597c0..6f210d60e3a12b7dcfcd589a9bfa71494dc8f42b 100644 (file)
@@ -253,7 +253,7 @@ tests = tst-attr2 tst-attr3 tst-default-attr \
        tst-align tst-align3 \
        tst-kill1 tst-kill2 tst-kill3 tst-kill4 tst-kill5 tst-kill6 \
        tst-raise1 \
-       tst-join1 tst-join2 tst-join3 tst-join4 tst-join5 tst-join6 tst-join7 \
+       tst-join2 tst-join3 \
        tst-join8 tst-join9 tst-join10 tst-join11 tst-join12 tst-join13 \
        tst-join14 \
        tst-detach1 \
@@ -385,7 +385,7 @@ modules-names = tst-atfork2mod tst-tls3mod tst-tls4moda tst-tls4modb \
                tst-tls5mod tst-tls5moda tst-tls5modb tst-tls5modc \
                tst-tls5modd tst-tls5mode tst-tls5modf tst-stack4mod \
                tst-_res1mod1 tst-_res1mod2 tst-execstack-mod tst-fini1mod \
-               tst-join7mod tst-compat-forwarder-mod tst-audit-threads-mod1 \
+               tst-compat-forwarder-mod tst-audit-threads-mod1 \
                tst-audit-threads-mod2
 extra-test-objs += $(addsuffix .os,$(strip $(modules-names))) \
                   tst-cleanup4aux.o tst-cleanupx4aux.o
@@ -579,11 +579,6 @@ $(objpfx)tst-tls6.out: tst-tls6.sh $(objpfx)tst-tls5 \
        $(evaluate-test)
 endif
 
-$(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
-
 $(objpfx)tst-dlsym1: $(libdl) $(shared-thread-library)
 
 $(objpfx)tst-fini1: $(shared-thread-library) $(objpfx)tst-fini1mod.so
index 2d1d14f45d6e8ef8cf4a31d2dae26df7ffc6899a..6e94c00f75bbe5c48d7dfb6a696072ba468a2a76 100644 (file)
@@ -17,4 +17,4 @@
    <http://www.gnu.org/licenses/>.  */
 
 #define USE_PTHREAD_CLOCKJOIN_NP_REALTIME 1
-#include <nptl/tst-join5.c>
+#include <sysdeps/pthread/tst-join5.c>
index c03bd90403a6213e66b58e5841c2cded0d6b9073..ed8312bc6bc4292661023bba1db43a5a0386b6dc 100644 (file)
@@ -18,4 +18,4 @@
 
 #define USE_PTHREAD_CLOCKJOIN_NP_REALTIME 1
 #define WAIT_IN_CHILD 1
-#include <nptl/tst-join5.c>
+#include <sysdeps/pthread/tst-join5.c>
index 10e45bf40c24cf050d638aa7ba260529cbc9c50a..57d713c82d02f5c9277c7cb4c3a41599234ec066 100644 (file)
@@ -17,4 +17,4 @@
    <http://www.gnu.org/licenses/>.  */
 
 #define USE_PTHREAD_CLOCKJOIN_NP_MONOTONIC 1
-#include <nptl/tst-join5.c>
+#include <sysdeps/pthread/tst-join5.c>
index 640df5946bee20c9c1cb16e57da8d9cf45c9fa2b..61a9106ebfd2732489bf669d096e5b9139c9d83f 100644 (file)
@@ -18,4 +18,4 @@
 
 #define USE_PTHREAD_CLOCKJOIN_NP_MONOTONIC 1
 #define WAIT_IN_CHILD 1
-#include <nptl/tst-join5.c>
+#include <sysdeps/pthread/tst-join5.c>
index 6232bbbd3b5ba1bb30102e51a3de020cd7b159b6..3eddabab6f587bbc17f28c88389bb2ea6697868d 100644 (file)
@@ -17,4 +17,4 @@
    <https://www.gnu.org/licenses/>.  */
 
 #define USE_PTHREAD_TIMEDJOIN_NP 1
-#include <nptl/tst-join5.c>
+#include <sysdeps/pthread/tst-join5.c>
index 6dc57e84775f999c72f7aa93de6058039a15bb78..e9d0f26146e70edeaee01f409d7f3ff7b45dbd94 100644 (file)
@@ -18,4 +18,4 @@
 
 #define USE_PTHREAD_TIMEDJOIN_NP 1
 #define WAIT_IN_CHILD 1
-#include <nptl/tst-join5.c>
+#include <sysdeps/pthread/tst-join5.c>
index c102f45b6a3d0e16395e375a7d6251abb06fba4b..396f2b18bf06e957c05059c534bb6807d40a331b 100644 (file)
@@ -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
similarity index 100%
rename from nptl/tst-join1.c
rename to sysdeps/pthread/tst-join1.c
similarity index 100%
rename from nptl/tst-join4.c
rename to sysdeps/pthread/tst-join4.c
similarity index 100%
rename from nptl/tst-join5.c
rename to sysdeps/pthread/tst-join5.c
similarity index 100%
rename from nptl/tst-join6.c
rename to sysdeps/pthread/tst-join6.c
similarity index 100%
rename from nptl/tst-join7.c
rename to sysdeps/pthread/tst-join7.c
This page took 0.052785 seconds and 5 git commands to generate.