]> sourceware.org Git - glibc.git/commitdiff
pthread: Move most sem tests from nptl to sysdeps/pthread
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 9 Feb 2020 22:55:12 +0000 (22:55 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 10 Feb 2020 01:03:54 +0000 (01:03 +0000)
So they can be checked with htl too.

15 files changed:
nptl/Makefile
sysdeps/mach/hurd/i386/Makefile
sysdeps/pthread/Makefile
sysdeps/pthread/tst-sem1.c [moved from nptl/tst-sem1.c with 100% similarity]
sysdeps/pthread/tst-sem10.c [moved from nptl/tst-sem10.c with 100% similarity]
sysdeps/pthread/tst-sem14.c [moved from nptl/tst-sem14.c with 100% similarity]
sysdeps/pthread/tst-sem15.c [moved from nptl/tst-sem15.c with 100% similarity]
sysdeps/pthread/tst-sem16.c [moved from nptl/tst-sem16.c with 100% similarity]
sysdeps/pthread/tst-sem2.c [moved from nptl/tst-sem2.c with 100% similarity]
sysdeps/pthread/tst-sem3.c [moved from nptl/tst-sem3.c with 100% similarity]
sysdeps/pthread/tst-sem4.c [moved from nptl/tst-sem4.c with 100% similarity]
sysdeps/pthread/tst-sem6.c [moved from nptl/tst-sem6.c with 100% similarity]
sysdeps/pthread/tst-sem7.c [moved from nptl/tst-sem7.c with 100% similarity]
sysdeps/pthread/tst-sem8.c [moved from nptl/tst-sem8.c with 100% similarity]
sysdeps/pthread/tst-sem9.c [moved from nptl/tst-sem9.c with 100% similarity]

index 8e53ff6a496cc4a1c0cf5514adf994b2b5934d8a..80e293209c2582406fff806646d813355777bd1c 100644 (file)
@@ -249,9 +249,7 @@ tests = tst-attr2 tst-attr3 tst-default-attr \
        tst-rwlock9 tst-rwlock10 tst-rwlock11 tst-rwlock12 \
        tst-rwlock14 tst-rwlock15 tst-rwlock17 tst-rwlock18 \
        tst-once5 \
-       tst-sem1 tst-sem2 tst-sem3 tst-sem4 tst-sem5 tst-sem6 tst-sem7 \
-       tst-sem8 tst-sem9 tst-sem10 tst-sem14 \
-       tst-sem15 tst-sem16 tst-sem17 \
+       tst-sem5 tst-sem17 \
        tst-barrier1 tst-barrier2 tst-barrier3 tst-barrier4 \
        tst-align tst-align3 \
        tst-kill1 tst-kill2 tst-kill3 tst-kill4 tst-kill5 tst-kill6 \
index e303945b2a5f7a26a41260e254d67c6cb0484b03..a5ccab09569c60a2cc8ffac43564be861dd073b0 100644 (file)
@@ -111,6 +111,7 @@ test-xfail-tst-cond13 = yes
 test-xfail-tst-cond23 = yes
 test-xfail-tst-rwlock4 = yes
 test-xfail-tst-rwlock12 = yes
+test-xfail-tst-sem3 = yes
 endif
 
 # For bug 25522
@@ -119,6 +120,14 @@ test-xfail-tst-cond24 = yes
 test-xfail-tst-cond25 = yes
 endif
 
+# For bug 25524
+ifeq ($(subdir),htl)
+test-xfail-tst-sem4 = yes
+test-xfail-tst-sem7 = yes
+test-xfail-tst-sem8 = yes
+test-xfail-tst-sem9 = yes
+endif
+
 ifeq ($(subdir),elf)
 # We do use nested functions involving creation of trampolines, notably for
 # callbacks whose parameters don't permit to get the context parameters.
index 8143eeb1ad3e461be7da82657645fd17c4f6cc0c..2f07c0cfe60bebfad987c4349d96d2f253e062ae 100644 (file)
@@ -55,6 +55,8 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
         tst-once1 tst-once2 tst-once3 tst-once4 \
         tst-rwlock1 tst-rwlock4 tst-rwlock5 tst-rwlock13 tst-rwlock16 \
         tst-rwlock-tryrdlock-stall tst-rwlock-trywrlock-stall \
+        tst-sem1 tst-sem2 tst-sem3 tst-sem4 tst-sem6 tst-sem7 \
+        tst-sem8 tst-sem9 tst-sem10 tst-sem14 tst-sem15 tst-sem16 \
         tst-spin1 tst-spin2 tst-spin3 tst-spin4
 
 tests += tst-oncex3 tst-oncex4
similarity index 100%
rename from nptl/tst-sem1.c
rename to sysdeps/pthread/tst-sem1.c
similarity index 100%
rename from nptl/tst-sem10.c
rename to sysdeps/pthread/tst-sem10.c
similarity index 100%
rename from nptl/tst-sem14.c
rename to sysdeps/pthread/tst-sem14.c
similarity index 100%
rename from nptl/tst-sem15.c
rename to sysdeps/pthread/tst-sem15.c
similarity index 100%
rename from nptl/tst-sem16.c
rename to sysdeps/pthread/tst-sem16.c
similarity index 100%
rename from nptl/tst-sem2.c
rename to sysdeps/pthread/tst-sem2.c
similarity index 100%
rename from nptl/tst-sem3.c
rename to sysdeps/pthread/tst-sem3.c
similarity index 100%
rename from nptl/tst-sem4.c
rename to sysdeps/pthread/tst-sem4.c
similarity index 100%
rename from nptl/tst-sem6.c
rename to sysdeps/pthread/tst-sem6.c
similarity index 100%
rename from nptl/tst-sem7.c
rename to sysdeps/pthread/tst-sem7.c
similarity index 100%
rename from nptl/tst-sem8.c
rename to sysdeps/pthread/tst-sem8.c
similarity index 100%
rename from nptl/tst-sem9.c
rename to sysdeps/pthread/tst-sem9.c
This page took 0.057482 seconds and 5 git commands to generate.