mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 15:25:49 +00:00
f762dbf461
* tests/test-regex-el.c, tests/test-regex-en.c, tests/test-regex-tr.c: New files, containing the locale-specific parts of the old tests/test-regex.c. * modules/regex-tests (Files): Add them. Add m4/locale-en.m4. (configure.ac): Add gt_LOCALE_EN_UTF8. (TESTS, check_PROGRAMS): Add test-regex-el, test-regex-en, test-regex-tr. (TESTS_ENVIRONMENT, test_regex_el_LDADD, test_regex_en_LDADD) (test_regex_tr_LDADD): New macros. * tests/test-regex.c: Do not include <locale.h>, <wctype.h>, "localcharset.h". (really_utf8): Remove. (main): Remove the parts assuming specific locales; they are now moved to the abovementioned new files.
27 lines
677 B
Plaintext
27 lines
677 B
Plaintext
Files:
|
|
tests/test-regex.c
|
|
tests/test-regex-el.c
|
|
tests/test-regex-en.c
|
|
tests/test-regex-tr.c
|
|
tests/macros.h
|
|
m4/locale-en.m4
|
|
|
|
Depends-on:
|
|
gettext-h
|
|
localcharset
|
|
wctype-h
|
|
streq
|
|
|
|
configure.ac:
|
|
AC_CHECK_DECLS_ONCE([alarm])
|
|
gt_LOCALE_EN_UTF8
|
|
|
|
Makefile.am:
|
|
TESTS += test-regex test-regex-el test-regex-en test-regex-tr
|
|
TESTS_ENVIRONMENT += LOCALE_EN_UTF8='@LOCALE_EN_UTF8@'
|
|
check_PROGRAMS += test-regex test-regex-el test-regex-en test-regex-tr
|
|
test_regex_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) @LIBINTL@ $(LIBC32CONV) $(LIBTHREAD)
|
|
test_regex_el_LDADD = $(test_regex_LDADD)
|
|
test_regex_en_LDADD = $(test_regex_LDADD)
|
|
test_regex_tr_LDADD = $(test_regex_LDADD)
|