public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] pthread: Move some rwlock tests from nptl to sysdeps/pthread
@ 2020-02-09 20:08 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2020-02-09 20:08 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d5ec049d44f019deaeed8adc0bd10819e5569e93
commit d5ec049d44f019deaeed8adc0bd10819e5569e93
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Feb 9 20:07:51 2020 +0000
pthread: Move some rwlock tests from nptl to sysdeps/pthread
So they can be checked with htl too.
Diff:
---
nptl/Makefile | 9 ++++-----
sysdeps/pthread/Makefile | 2 ++
{nptl => sysdeps/pthread}/tst-rwlock-tryrdlock-stall.c | 0
{nptl => sysdeps/pthread}/tst-rwlock-trywrlock-stall.c | 0
{nptl => sysdeps/pthread}/tst-rwlock1.c | 0
{nptl => sysdeps/pthread}/tst-rwlock13.c | 0
{nptl => sysdeps/pthread}/tst-rwlock16.c | 0
{nptl => sysdeps/pthread}/tst-rwlock4.c | 0
{nptl => sysdeps/pthread}/tst-rwlock5.c | 0
9 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/nptl/Makefile b/nptl/Makefile
index bf21413..3ad3024 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -244,10 +244,10 @@ tests = tst-attr2 tst-attr3 tst-default-attr \
tst-robust6 tst-robust7 tst-robust8 tst-robust9 \
tst-robustpi1 tst-robustpi2 tst-robustpi3 tst-robustpi4 tst-robustpi5 \
tst-robustpi6 tst-robustpi7 tst-robustpi8 tst-robustpi9 \
- tst-rwlock1 tst-rwlock2 tst-rwlock2a tst-rwlock2b tst-rwlock3 \
- tst-rwlock4 tst-rwlock5 tst-rwlock6 tst-rwlock7 tst-rwlock8 \
- tst-rwlock9 tst-rwlock10 tst-rwlock11 tst-rwlock12 tst-rwlock13 \
- tst-rwlock14 tst-rwlock15 tst-rwlock16 tst-rwlock17 tst-rwlock18 \
+ tst-rwlock2 tst-rwlock2a tst-rwlock2b tst-rwlock3 \
+ tst-rwlock6 tst-rwlock7 tst-rwlock8 \
+ tst-rwlock9 tst-rwlock10 tst-rwlock11 tst-rwlock12 \
+ tst-rwlock14 tst-rwlock15 tst-rwlock17 tst-rwlock18 \
tst-once5 \
tst-key1 tst-key2 tst-key3 tst-key4 \
tst-sem1 tst-sem2 tst-sem3 tst-sem4 tst-sem5 tst-sem6 tst-sem7 \
@@ -306,7 +306,6 @@ tests = tst-attr2 tst-attr3 tst-default-attr \
tst-thread-exit-clobber tst-minstack-cancel tst-minstack-exit \
tst-minstack-throw \
tst-rwlock-pwn \
- tst-rwlock-tryrdlock-stall tst-rwlock-trywrlock-stall \
tst-unwind-thread
tests-container = tst-pthread-getattr
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index 6b49e33..cceaa91 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -52,6 +52,8 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
tst-cond-except \
tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex6 tst-mutex10 \
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-spin1 tst-spin2 tst-spin3 tst-spin4
tests += tst-oncex3 tst-oncex4
diff --git a/nptl/tst-rwlock-tryrdlock-stall.c b/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c
similarity index 100%
rename from nptl/tst-rwlock-tryrdlock-stall.c
rename to sysdeps/pthread/tst-rwlock-tryrdlock-stall.c
diff --git a/nptl/tst-rwlock-trywrlock-stall.c b/sysdeps/pthread/tst-rwlock-trywrlock-stall.c
similarity index 100%
rename from nptl/tst-rwlock-trywrlock-stall.c
rename to sysdeps/pthread/tst-rwlock-trywrlock-stall.c
diff --git a/nptl/tst-rwlock1.c b/sysdeps/pthread/tst-rwlock1.c
similarity index 100%
rename from nptl/tst-rwlock1.c
rename to sysdeps/pthread/tst-rwlock1.c
diff --git a/nptl/tst-rwlock13.c b/sysdeps/pthread/tst-rwlock13.c
similarity index 100%
rename from nptl/tst-rwlock13.c
rename to sysdeps/pthread/tst-rwlock13.c
diff --git a/nptl/tst-rwlock16.c b/sysdeps/pthread/tst-rwlock16.c
similarity index 100%
rename from nptl/tst-rwlock16.c
rename to sysdeps/pthread/tst-rwlock16.c
diff --git a/nptl/tst-rwlock4.c b/sysdeps/pthread/tst-rwlock4.c
similarity index 100%
rename from nptl/tst-rwlock4.c
rename to sysdeps/pthread/tst-rwlock4.c
diff --git a/nptl/tst-rwlock5.c b/sysdeps/pthread/tst-rwlock5.c
similarity index 100%
rename from nptl/tst-rwlock5.c
rename to sysdeps/pthread/tst-rwlock5.c
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-09 20:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 20:08 [glibc] pthread: Move some rwlock tests from nptl to sysdeps/pthread Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).