diff options
author | Bruno Haible <bruno@clisp.org> | 2023-02-08 23:43:03 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-02-08 23:43:03 +0100 |
commit | 4dff93434fcb770cb490a738d10d9cbb4a35d5be (patch) | |
tree | a6d9a34b04d722e5f2072b4be303b323912b60fd /modules | |
parent | 57ec1201e41544144928901fa21f93085c9862d0 (diff) | |
download | gnulib-4dff93434fcb770cb490a738d10d9cbb4a35d5be.tar.gz |
nl_langinfo tests: Add another test.
* tests/test-nl_langinfo2.c: New file.
* tests/test-nl_langinfo2.sh: New file.
* modules/nl_langinfo-tests (Files): Add them. Add
intl-thread-locale.m4.
(Depends-on): Add c-strcasestr, stdbool.
(configure.ac): Invoke gt_FUNC_USELOCALE.
(Makefile.am): Arrange to compile test-nl_langinfo2 and test it through
test-nl_langinfo2.sh.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/nl_langinfo-tests | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/nl_langinfo-tests b/modules/nl_langinfo-tests index e4456e3789..c48597acca 100644 --- a/modules/nl_langinfo-tests +++ b/modules/nl_langinfo-tests @@ -1,24 +1,31 @@ Files: tests/test-nl_langinfo1.sh +tests/test-nl_langinfo2.sh tests/test-nl_langinfo1.c +tests/test-nl_langinfo2.c tests/test-nl_langinfo-mt.c tests/signature.h tests/macros.h m4/locale-fr.m4 +m4/intl-thread-locale.m4 Depends-on: c-strcase +c-strcasestr setlocale thread nanosleep +stdbool configure.ac: gt_LOCALE_FR gt_LOCALE_FR_UTF8 +gt_FUNC_USELOCALE Makefile.am: -TESTS += test-nl_langinfo1.sh test-nl_langinfo-mt +TESTS += test-nl_langinfo1.sh test-nl_langinfo2.sh test-nl_langinfo-mt TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' -check_PROGRAMS += test-nl_langinfo1 test-nl_langinfo-mt +check_PROGRAMS += test-nl_langinfo1 test-nl_langinfo2 test-nl_langinfo-mt test_nl_langinfo1_LDADD = $(LDADD) $(SETLOCALE_LIB) +test_nl_langinfo2_LDADD = $(LDADD) $(SETLOCALE_LIB) test_nl_langinfo_mt_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBMULTITHREAD) $(NANOSLEEP_LIB) |