about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 17:30:30 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 17:30:30 +0000
commit44a41fc2536f86f95fa7df36a2285101bb4157a3 (patch)
tree8bdb46b949f620f6de7ca469887e1eaede470386
parent34f168fb82b992edd3549222486704ee3dd9d1de (diff)
downloadglibc-44a41fc2536f86f95fa7df36a2285101bb4157a3.tar.gz
glibc-44a41fc2536f86f95fa7df36a2285101bb4157a3.tar.xz
glibc-44a41fc2536f86f95fa7df36a2285101bb4157a3.zip
pthread: Move some attr tests from nptl to sysdeps/pthread
So they can be checked with htl too.
-rw-r--r--nptl/Makefile2
-rw-r--r--sysdeps/pthread/Makefile1
-rw-r--r--sysdeps/pthread/tst-attr1.c (renamed from nptl/tst-attr1.c)0
3 files changed, 2 insertions, 1 deletions
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
index fc247eb723..fc247eb723 100644
--- a/nptl/tst-attr1.c
+++ b/sysdeps/pthread/tst-attr1.c