summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-12-21 07:41:08 +0100
committerBruno Haible <bruno@clisp.org>2019-12-21 07:41:08 +0100
commit8837821a2711ae84725a080467daef262a037f02 (patch)
tree2da4f05a35ee8944d52412faa3c6638886c56385
parentfc3b2d4269134cc02542e9ac8f62aa1f3ad5550a (diff)
downloadgnulib-8837821a2711ae84725a080467daef262a037f02.tar.gz
New convention for multithread-safety tests.
* tests/test-setlocale_null-mt-one.c: Renamed from tests/test-setlocale_null-one.c. * tests/test-setlocale_null-mt-all.c: Renamed from tests/test-setlocale_null-all.c. * modules/setlocale-null-tests (Files, Makefile.am): Update.
-rw-r--r--ChangeLog9
-rw-r--r--modules/setlocale-null-tests16
-rw-r--r--tests/test-setlocale_null-mt-all.c (renamed from tests/test-setlocale_null-all.c)0
-rw-r--r--tests/test-setlocale_null-mt-one.c (renamed from tests/test-setlocale_null-one.c)0
4 files changed, 17 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index b38bbe23ab..7dc34641ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2019-12-21 Bruno Haible <bruno@clisp.org>
+ New convention for multithread-safety tests.
+ * tests/test-setlocale_null-mt-one.c: Renamed from
+ tests/test-setlocale_null-one.c.
+ * tests/test-setlocale_null-mt-all.c: Renamed from
+ tests/test-setlocale_null-all.c.
+ * modules/setlocale-null-tests (Files, Makefile.am): Update.
+
+2019-12-21 Bruno Haible <bruno@clisp.org>
+
quotearg tests: Fix conflict with hard-locale tests.
* tests/testlocale: Renamed from tests/locale.
* modules/quotearg-tests (Files): Update.
diff --git a/modules/setlocale-null-tests b/modules/setlocale-null-tests
index 2114848ac4..f794711e39 100644
--- a/modules/setlocale-null-tests
+++ b/modules/setlocale-null-tests
@@ -1,7 +1,7 @@
Files:
tests/test-setlocale_null.c
-tests/test-setlocale_null-one.c
-tests/test-setlocale_null-all.c
+tests/test-setlocale_null-mt-one.c
+tests/test-setlocale_null-mt-all.c
Depends-on:
thread
@@ -12,12 +12,12 @@ configure.ac:
Makefile.am:
TESTS += \
test-setlocale_null \
- test-setlocale_null-one \
- test-setlocale_null-all
+ test-setlocale_null-mt-one \
+ test-setlocale_null-mt-all
check_PROGRAMS += \
test-setlocale_null \
- test-setlocale_null-one \
- test-setlocale_null-all
+ test-setlocale_null-mt-one \
+ test-setlocale_null-mt-all
test_setlocale_null_LDADD = $(LDADD) @LIB_SETLOCALE_NULL@
-test_setlocale_null_one_LDADD = $(LDADD) @LIB_SETLOCALE_NULL@ $(LIBMULTITHREAD) $(LIB_NANOSLEEP)
-test_setlocale_null_all_LDADD = $(LDADD) @LIB_SETLOCALE_NULL@ $(LIBMULTITHREAD) $(LIB_NANOSLEEP)
+test_setlocale_null_mt_one_LDADD = $(LDADD) @LIB_SETLOCALE_NULL@ $(LIBMULTITHREAD) $(LIB_NANOSLEEP)
+test_setlocale_null_mt_all_LDADD = $(LDADD) @LIB_SETLOCALE_NULL@ $(LIBMULTITHREAD) $(LIB_NANOSLEEP)
diff --git a/tests/test-setlocale_null-all.c b/tests/test-setlocale_null-mt-all.c
index abf2df4bce..abf2df4bce 100644
--- a/tests/test-setlocale_null-all.c
+++ b/tests/test-setlocale_null-mt-all.c
diff --git a/tests/test-setlocale_null-one.c b/tests/test-setlocale_null-mt-one.c
index a83e485656..a83e485656 100644
--- a/tests/test-setlocale_null-one.c
+++ b/tests/test-setlocale_null-mt-one.c