view modules/mbrtowc-tests @ 14347:15fd847d6bfe

mbrtowc: Add more tests for native Windows platforms. * tests/test-mbrtowc-w32-1.sh: New file. * tests/test-mbrtowc-w32-2.sh: New file. * tests/test-mbrtowc-w32-3.sh: New file. * tests/test-mbrtowc-w32-4.sh: New file. * tests/test-mbrtowc-w32-5.sh: New file. * tests/test-mbrtowc-w32.c: New file. * modules/mbrtowc-tests (Files): Add them. (Makefile.am): Arrange to run these tests. * tests/test-mbrtowc-w32-6.sh: New file, currently unused. * tests/test-mbrtowc-w32-7.sh: New file, currently unused.
author Bruno Haible <bruno@clisp.org>
date Mon, 14 Feb 2011 00:09:53 +0100
parents 413f5a66c55a
children 24fde31e764d
line wrap: on
line source

Files:
tests/test-mbrtowc1.sh
tests/test-mbrtowc2.sh
tests/test-mbrtowc3.sh
tests/test-mbrtowc4.sh
tests/test-mbrtowc.c
tests/test-mbrtowc-w32-1.sh
tests/test-mbrtowc-w32-2.sh
tests/test-mbrtowc-w32-3.sh
tests/test-mbrtowc-w32-4.sh
tests/test-mbrtowc-w32-5.sh
tests/test-mbrtowc-w32.c
tests/signature.h
tests/macros.h
m4/locale-fr.m4
m4/locale-ja.m4
m4/locale-zh.m4
m4/codeset.m4

Depends-on:
mbsinit
wctob
setlocale

configure.ac:
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
gt_LOCALE_JA
gt_LOCALE_ZH_CN

Makefile.am:
TESTS += \
  test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \
  test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \
  test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh
TESTS_ENVIRONMENT += \
  LOCALE_FR='@LOCALE_FR@' \
  LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
  LOCALE_JA='@LOCALE_JA@' \
  LOCALE_ZH_CN='@LOCALE_ZH_CN@'
check_PROGRAMS += test-mbrtowc test-mbrtowc-w32