about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-07 14:02:18 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-07 16:14:23 +0200
commit4bab9ad854b50fab23eacf29550325552e7a9f4b (patch)
tree0d0603cee6d95d39db2f457b2f232883a4cd2bd1
parent7b6b18319ee6441bbec89fb0568a4bf7ba96e3d0 (diff)
downloadglibc-4bab9ad854b50fab23eacf29550325552e7a9f4b.tar.gz
glibc-4bab9ad854b50fab23eacf29550325552e7a9f4b.tar.xz
glibc-4bab9ad854b50fab23eacf29550325552e7a9f4b.zip
htl: Enable but XFAIL tst-flock2, tst-signal1, tst-signal2
They need setpshared support.

* nptl/tst-flock2.c, tst-signal1.c, tst-signal2.c: Move to...
* sysdeps/pthread: ... here.
* nptl/Makefile: Move corresponding tests references to...
* sysdeps/pthread/Makefile: ... here.
* sysdeps/mach/hurd/i386/Makefile (test-xfail-tst-flock2,
test-xfail-tst-signal1, test-xfail-tst-signal2): Add.
-rw-r--r--nptl/Makefile3
-rw-r--r--sysdeps/mach/hurd/i386/Makefile3
-rw-r--r--sysdeps/pthread/Makefile3
-rw-r--r--sysdeps/pthread/tst-flock2.c (renamed from nptl/tst-flock2.c)0
-rw-r--r--sysdeps/pthread/tst-signal1.c (renamed from nptl/tst-signal1.c)0
-rw-r--r--sysdeps/pthread/tst-signal2.c (renamed from nptl/tst-signal2.c)0
6 files changed, 6 insertions, 3 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index b1e60d303f..9b549454f1 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -282,8 +282,7 @@ tests = tst-attr2 tst-attr3 tst-default-attr \
 	tst-cancel16 tst-cancel17 tst-cancel20 tst-cancel21 tst-cancel24 \
 	tst-cancel-self tst-cancel-self-cancelstate \
 	tst-cleanup4 \
-	tst-flock2 \
-	tst-signal1 tst-signal2 tst-signal3 \
+	tst-signal3 \
 	tst-exec4 tst-exec5 \
 	tst-stack2 tst-stack3 tst-stack4 \
 	tst-pthread-attr-affinity \
diff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile
index f3682ba720..a67fe5d393 100644
--- a/sysdeps/mach/hurd/i386/Makefile
+++ b/sysdeps/mach/hurd/i386/Makefile
@@ -119,6 +119,9 @@ test-xfail-tst-barrier2 = yes
 test-xfail-tst-pututxline-cache = yes
 test-xfail-tst-pututxline-lockfail = yes
 test-xfail-tst-mallocfork2 = yes
+test-xfail-tst-flock2 = yes
+test-xfail-tst-signal1 = yes
+test-xfail-tst-signal2 = yes
 
 # For bug 25522
 # (setprotocol support)
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index fb78e55e27..5f9610ecbf 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -67,7 +67,7 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
 	 tst-eintr2 tst-eintr3 tst-eintr4 tst-eintr5 \
 	 tst-exec1 tst-exec2 tst-exec3 \
 	 tst-exit1 tst-exit2 tst-exit3 \
-	 tst-flock1 \
+	 tst-flock1 tst-flock2 \
 	 tst-fork1 tst-fork2 tst-fork3 tst-fork4 \
 	 tst-atfork1 \
 	 tst-getpid3 \
@@ -92,6 +92,7 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
 	 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-setuid3 \
+	 tst-signal1 tst-signal2 \
 	 tst-signal4 tst-signal5 tst-signal6 tst-signal8 \
 	 tst-spin1 tst-spin2 tst-spin3 tst-spin4 \
 	 tst-stack1 \
diff --git a/nptl/tst-flock2.c b/sysdeps/pthread/tst-flock2.c
index 62a9117da9..62a9117da9 100644
--- a/nptl/tst-flock2.c
+++ b/sysdeps/pthread/tst-flock2.c
diff --git a/nptl/tst-signal1.c b/sysdeps/pthread/tst-signal1.c
index 2779213dc2..2779213dc2 100644
--- a/nptl/tst-signal1.c
+++ b/sysdeps/pthread/tst-signal1.c
diff --git a/nptl/tst-signal2.c b/sysdeps/pthread/tst-signal2.c
index 53e0ca6377..53e0ca6377 100644
--- a/nptl/tst-signal2.c
+++ b/sysdeps/pthread/tst-signal2.c