view modules/regex-tests @ 17357:2f5f50211fb5

regex-tests: skip UTF-8 test on mingw test-regex failed on mingw; and I traced it in gdb to an instance of init_dfa() setting dfa->is_utf8 to 0 in spite of setlocale() claiming success for "en_US.UTF-8". test-wcwidth already has precedent for skipping utf-8 tests where the system (or gnulib setlocale replacement, in this case) lies about utf-8 support. * modules/regex-tests (Depends-on): Add localcharset. * tests/test-regex.c (main): Use it to skip test on mingw. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Tue, 12 Mar 2013 15:15:01 -0600
parents 219f5e131f8d
children 01062b8ff04b
line wrap: on
line source

Files:
tests/test-regex.c
tests/macros.h

Depends-on:
localcharset

configure.ac:

Makefile.am:
TESTS += test-regex
check_PROGRAMS += test-regex
test_regex_LDADD = $(LDADD) @LIBINTL@