about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 17:00:39 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 17:00:44 +0000
commit71d52ac4d65435791d8fa9f52abab7107ef7f7e8 (patch)
tree3166281a996db9450cc47a1b35a2fb54bc92f988
parent900778283ac3cfbd274abc55840b5cdae9b7745f (diff)
downloadglibc-71d52ac4d65435791d8fa9f52abab7107ef7f7e8.tar.gz
glibc-71d52ac4d65435791d8fa9f52abab7107ef7f7e8.tar.xz
glibc-71d52ac4d65435791d8fa9f52abab7107ef7f7e8.zip
pthread: Move spin tests from nptl to sysdeps/pthread
So they can be checked with htl too.
-rw-r--r--nptl/Makefile1
-rw-r--r--sysdeps/pthread/Makefile1
-rw-r--r--sysdeps/pthread/tst-spin1.c (renamed from nptl/tst-spin1.c)0
-rw-r--r--sysdeps/pthread/tst-spin2.c (renamed from nptl/tst-spin2.c)0
-rw-r--r--sysdeps/pthread/tst-spin3.c (renamed from nptl/tst-spin3.c)0
-rw-r--r--sysdeps/pthread/tst-spin4.c (renamed from nptl/tst-spin4.c)0
6 files changed, 1 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 812d01a4e1..baa6c66778 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -240,7 +240,6 @@ tests = tst-attr1 tst-attr2 tst-attr3 tst-default-attr \
 	tst-mutex7robust tst-mutexpi1 tst-mutexpi2 tst-mutexpi3 tst-mutexpi4 \
 	tst-mutexpi5 tst-mutexpi5a tst-mutexpi6 tst-mutexpi7 tst-mutexpi7a \
 	tst-mutexpi9 \
-	tst-spin1 tst-spin2 tst-spin3 tst-spin4 \
 	tst-cond1 tst-cond2 tst-cond3 tst-cond4 tst-cond5 tst-cond6 tst-cond7 \
 	tst-cond8 tst-cond9 tst-cond10 tst-cond11 tst-cond12 tst-cond13 \
 	tst-cond14 tst-cond15 tst-cond16 tst-cond17 tst-cond18 tst-cond19 \
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index db4d573070..6b66031706 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -44,5 +44,6 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
 	 tst-mtx-recursive tst-tss-basic tst-call-once tst-mtx-timedlock \
 	 tst-basic1 tst-basic2 tst-basic3 tst-basic4 tst-basic5 tst-basic6 \
 	 tst-basic7 \
+	 tst-spin1 tst-spin2 tst-spin3 tst-spin4 \
 
 endif
diff --git a/nptl/tst-spin1.c b/sysdeps/pthread/tst-spin1.c
index 3480f407c4..3480f407c4 100644
--- a/nptl/tst-spin1.c
+++ b/sysdeps/pthread/tst-spin1.c
diff --git a/nptl/tst-spin2.c b/sysdeps/pthread/tst-spin2.c
index 135228a958..135228a958 100644
--- a/nptl/tst-spin2.c
+++ b/sysdeps/pthread/tst-spin2.c
diff --git a/nptl/tst-spin3.c b/sysdeps/pthread/tst-spin3.c
index d64dab4443..d64dab4443 100644
--- a/nptl/tst-spin3.c
+++ b/sysdeps/pthread/tst-spin3.c
diff --git a/nptl/tst-spin4.c b/sysdeps/pthread/tst-spin4.c
index 99fe7aa6aa..99fe7aa6aa 100644
--- a/nptl/tst-spin4.c
+++ b/sysdeps/pthread/tst-spin4.c