Mercurial > hg > octave-kai > gnulib-hg
comparison modules/regex-tests @ 17368: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 |
comparison
equal
deleted
inserted
replaced
17367:639f60219717 | 17368:2f5f50211fb5 |
---|---|
1 Files: | 1 Files: |
2 tests/test-regex.c | 2 tests/test-regex.c |
3 tests/macros.h | 3 tests/macros.h |
4 | 4 |
5 Depends-on: | 5 Depends-on: |
6 localcharset | |
6 | 7 |
7 configure.ac: | 8 configure.ac: |
8 | 9 |
9 Makefile.am: | 10 Makefile.am: |
10 TESTS += test-regex | 11 TESTS += test-regex |