Mercurial > hg > octave-kai > gnulib-hg
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 |
rev | line source |
---|---|
10937 | 1 Files: |
2 tests/test-wcrtomb.sh | |
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 | 12 m4/locale-fr.m4 |
13 m4/locale-ja.m4 | |
14 m4/locale-zh.m4 | |
15 m4/codeset.m4 | |
16 | |
17 Depends-on: | |
18 btowc | |
14335
413f5a66c55a
Avoid setlocale bugs in tests.
Bruno Haible <bruno@clisp.org>
parents:
12775
diff
changeset
|
19 setlocale |
10937 | 20 |
21 configure.ac: | |
22 gt_LOCALE_FR | |
23 gt_LOCALE_FR_UTF8 | |
24 gt_LOCALE_JA | |
25 gt_LOCALE_ZH_CN | |
26 | |
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 | 32 TESTS_ENVIRONMENT += \ |
33 LOCALE_FR='@LOCALE_FR@' \ | |
34 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ | |
35 LOCALE_JA='@LOCALE_JA@' \ | |
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 | 38 |