about summary refs log tree commit diff
path: root/sysdeps/pthread/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 19:50:21 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 19:50:21 +0000
commit28c30a6232aa9a54783c146590498a061fc0112a (patch)
treebe91a57e6b2895cec3d761d10469483c173fcb6c /sysdeps/pthread/Makefile
parent52b6cdb4e32dc9a32a81c68974f34db04db47c82 (diff)
downloadglibc-28c30a6232aa9a54783c146590498a061fc0112a.tar.gz
glibc-28c30a6232aa9a54783c146590498a061fc0112a.tar.xz
glibc-28c30a6232aa9a54783c146590498a061fc0112a.zip
pthread: Move most once tests from nptl to sysdeps/pthread
So they can be checked with htl too.
Diffstat (limited to 'sysdeps/pthread/Makefile')
-rw-r--r--sysdeps/pthread/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index 2c33c5c904..6b49e33bdc 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -51,11 +51,17 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
 	 tst-cond23 tst-cond24 tst-cond25 \
 	 tst-cond-except \
 	 tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex6 tst-mutex10 \
+	 tst-once1 tst-once2 tst-once3 tst-once4 \
 	 tst-spin1 tst-spin2 tst-spin3 tst-spin4
 
+tests += tst-oncex3 tst-oncex4
+
 ifeq ($(build-shared),yes)
 tests-static += tst-cond8-static
 tests += tst-cond8-static
 endif
 
+CFLAGS-tst-oncex3.c += -fexceptions
+CFLAGS-tst-oncex4.c += -fexceptions
+
 endif