From 8837821a2711ae84725a080467daef262a037f02 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 Dec 2019 07:41:08 +0100 Subject: [PATCH] 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. --- ChangeLog | 9 +++++++++ modules/setlocale-null-tests | 16 ++++++++-------- ...e_null-all.c => test-setlocale_null-mt-all.c} | 0 ...e_null-one.c => test-setlocale_null-mt-one.c} | 0 4 files changed, 17 insertions(+), 8 deletions(-) rename tests/{test-setlocale_null-all.c => test-setlocale_null-mt-all.c} (100%) rename tests/{test-setlocale_null-one.c => test-setlocale_null-mt-one.c} (100%) diff --git a/ChangeLog b/ChangeLog index b38bbe23ab..7dc34641ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2019-12-21 Bruno Haible + + 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 quotearg tests: Fix conflict with hard-locale tests. 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 similarity index 100% rename from tests/test-setlocale_null-all.c rename to tests/test-setlocale_null-mt-all.c diff --git a/tests/test-setlocale_null-one.c b/tests/test-setlocale_null-mt-one.c similarity index 100% rename from tests/test-setlocale_null-one.c rename to tests/test-setlocale_null-mt-one.c -- 2.39.5