annotate modules/wcrtomb-tests @ 16497:3843e07f6df5

remainder-ieee: Work around test failure on OSF/1. * m4/remainder-ieee.m4: New file. * m4/remainder.m4 (gl_FUNC_REMAINDER): If gl_FUNC_REMAINDER_IEEE is present, test whether remainder works with a zero second argument. Replace it if not. * lib/math.in.h (remainder): Override if REPLACE_REMAINDER is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDER. * modules/math (Makefile.am): Substitute REPLACE_REMAINDER. * modules/remainder (configure.ac): Consider REPLACE_REMAINDER. (Depends-on): Update dependencies. * modules/remainder-ieee (Files): Add m4/remainder-ieee.m4. (configure.ac): Invoke gl_FUNC_REMAINDER_IEEE. * doc/posix-functions/remainder.texi: Mention the remainder-ieee module.
author Bruno Haible <bruno@clisp.org>
date Mon, 27 Feb 2012 18:07:29 +0100
parents b9dc068e378c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10937
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Files:
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 tests/test-wcrtomb.sh
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 tests/test-wcrtomb.c
14376
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
4 tests/test-wcrtomb-w32-1.sh
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
5 tests/test-wcrtomb-w32-2.sh
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
6 tests/test-wcrtomb-w32-3.sh
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
7 tests/test-wcrtomb-w32-4.sh
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
8 tests/test-wcrtomb-w32-5.sh
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
9 tests/test-wcrtomb-w32.c
12496
a48d3d749ca5 Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents: 12489
diff changeset
10 tests/signature.h
a48d3d749ca5 Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents: 12489
diff changeset
11 tests/macros.h
10937
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 m4/locale-fr.m4
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 m4/locale-ja.m4
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 m4/locale-zh.m4
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 m4/codeset.m4
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 Depends-on:
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 btowc
14335
413f5a66c55a Avoid setlocale bugs in tests.
Bruno Haible <bruno@clisp.org>
parents: 12775
diff changeset
19 setlocale
10937
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 configure.ac:
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 gt_LOCALE_FR
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 gt_LOCALE_FR_UTF8
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 gt_LOCALE_JA
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 gt_LOCALE_ZH_CN
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 Makefile.am:
14376
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
28 TESTS += \
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
29 test-wcrtomb.sh \
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
30 test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
31 test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh
10937
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 TESTS_ENVIRONMENT += \
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 LOCALE_FR='@LOCALE_FR@' \
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 LOCALE_JA='@LOCALE_JA@' \
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
14376
b9dc068e378c wcrtomb: Add more tests for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 14335
diff changeset
37 check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
10937
0f69cfb5fbf7 Tests for module 'wcrtomb'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38