[hurd,commited] pthread: Fix building tst-robust8 with nptl

Message ID 20200216225611.534955-1-samuel.thibault@ens-lyon.org
State Committed, archived
Headers

Commit Message

Samuel Thibault Feb. 16, 2020, 10:56 p.m. UTC
  NPTL's pthreadP.h needs internal definitions
---
 nptl/Makefile            | 4 ++--
 sysdeps/pthread/Makefile | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)
  

Patch

diff --git a/nptl/Makefile b/nptl/Makefile
index b25d34bd71..9c90af78f1 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -241,7 +241,7 @@  tests = tst-attr2 tst-attr3 tst-default-attr \
 	tst-mutexpi9 \
 	tst-cond11 tst-cond20 tst-cond21 tst-cond22 tst-cond26 tst-cond27 \
 	tst-robustpi1 tst-robustpi2 tst-robustpi3 tst-robustpi4 tst-robustpi5 \
-	tst-robustpi6 tst-robustpi7 tst-robustpi8 tst-robustpi9 \
+	tst-robustpi6 tst-robustpi7 tst-robustpi9 \
 	tst-rwlock2 tst-rwlock2a tst-rwlock2b tst-rwlock3 \
 	tst-rwlock6 tst-rwlock7 tst-rwlock8 \
 	tst-rwlock9 tst-rwlock10 tst-rwlock11 tst-rwlock12 \
@@ -304,7 +304,7 @@  tests = tst-attr2 tst-attr3 tst-default-attr \
 
 tests-container =  tst-pthread-getattr
 
-tests-internal := tst-rwlock19 tst-rwlock20 \
+tests-internal := tst-robustpi8 tst-rwlock19 tst-rwlock20 \
 		  tst-sem11 tst-sem12 tst-sem13 \
 		  tst-barrier5 tst-signal7 tst-mutex8 tst-mutex8-static \
 		  tst-mutexpi8 tst-mutexpi8-static tst-cancel25
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index b6491d6309..2f8aff35b2 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -56,13 +56,15 @@  tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
 	 tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex6 tst-mutex10 \
 	 tst-once1 tst-once2 tst-once3 tst-once4 \
 	 tst-robust1 tst-robust2 tst-robust3 tst-robust4 tst-robust5 \
-	 tst-robust6 tst-robust7 tst-robust8 tst-robust9 tst-robust10 \
+	 tst-robust6 tst-robust7 tst-robust9 tst-robust10 \
 	 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-internal += tst-robust8
+
 tests += tst-oncex3 tst-oncex4
 
 modules-names += tst-join7mod