view modules/quotearg-tests @ 16332:1f8299e68189

quotearg: Fix test failure on MacOS X 10.5. * tests/test-quotearg-simple.c: Include localcharset.h. (main): If the locale encoding is not ASCII, bypass the tests of locale_quoting_style and clocale_quoting_style. * modules/quotearg-tests (Depends-on): Add 'localcharset'.
author Bruno Haible <bruno@clisp.org>
date Mon, 30 Jan 2012 20:32:33 +0100
parents 413f5a66c55a
children
line wrap: on
line source

Status:
gettext-dependent-test

Files:
tests/test-quotearg.sh
tests/test-quotearg.c
tests/test-quotearg.h
tests/macros.h
tests/locale/fr/LC_MESSAGES/test-quotearg.po
tests/locale/fr/LC_MESSAGES/test-quotearg.mo
m4/locale-fr.m4
m4/codeset.m4

Depends-on:
gettext
progname
stdint
setenv
unsetenv
setlocale
localcharset

configure.ac:
gt_LOCALE_FR
gt_LOCALE_FR_UTF8

Makefile.am:
TESTS += test-quotearg.sh
TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
check_PROGRAMS += test-quotearg
test_quotearg_LDADD = $(LDADD) @LIBINTL@