[hurd,commited,2/2] pthread: Move some attr tests from nptl to sysdeps/pthread

Message ID 20200209173202.287052-2-samuel.thibault@ens-lyon.org
State New
Headers show
Series
  • [hurd,commited,1/2] htl: Fix default guard size
Related show

Commit Message

Samuel Thibault Feb. 9, 2020, 5:32 p.m.
So they can be checked with htl too.
---
 nptl/Makefile                         | 2 +-
 sysdeps/pthread/Makefile              | 1 +
 {nptl => sysdeps/pthread}/tst-attr1.c | 0
 3 files changed, 2 insertions(+), 1 deletion(-)
 rename {nptl => sysdeps/pthread}/tst-attr1.c (100%)

-- 
2.24.1

Patch

diff --git a/nptl/Makefile b/nptl/Makefile
index 774cf0a754..51a0be008b 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -234,7 +234,7 @@  LDLIBS-tst-thread-exit-clobber = -lstdc++
 CFLAGS-tst-minstack-throw.o = -std=gnu++11
 LDLIBS-tst-minstack-throw = -lstdc++
 
-tests = tst-attr1 tst-attr2 tst-attr3 tst-default-attr \
+tests = tst-attr2 tst-attr3 tst-default-attr \
 	tst-mutex5 tst-mutex7 tst-mutex9 tst-mutex11 tst-mutex5a tst-mutex7a \
 	tst-mutex7robust tst-mutexpi1 tst-mutexpi2 tst-mutexpi3 tst-mutexpi4 \
 	tst-mutexpi5 tst-mutexpi5a tst-mutexpi6 tst-mutexpi7 tst-mutexpi7a \
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index fb467d8e79..5117110210 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -42,6 +42,7 @@  libpthread-routines += thrd_create thrd_detach thrd_exit thrd_join \
 tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
 	 tst-cnd-timedwait tst-thrd-detach tst-mtx-basic tst-thrd-sleep \
 	 tst-mtx-recursive tst-tss-basic tst-call-once tst-mtx-timedlock \
+	 tst-attr1 \
 	 tst-basic1 tst-basic2 tst-basic3 tst-basic4 tst-basic5 tst-basic6 \
 	 tst-basic7 \
 	 tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex6 tst-mutex10 \
diff --git a/nptl/tst-attr1.c b/sysdeps/pthread/tst-attr1.c
similarity index 100%
rename from nptl/tst-attr1.c
rename to sysdeps/pthread/tst-attr1.c