Mercurial > hg > octave-kai > gnulib-hg
annotate modules/mbsspn-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 | 413f5a66c55a |
children |
rev | line source |
---|---|
8141 | 1 Files: |
2 tests/test-mbsspn.sh | |
3 tests/test-mbsspn.c | |
12496
a48d3d749ca5
Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents:
9284
diff
changeset
|
4 tests/macros.h |
8141 | 5 m4/locale-fr.m4 |
6 m4/codeset.m4 | |
7 | |
8 Depends-on: | |
14335
413f5a66c55a
Avoid setlocale bugs in tests.
Bruno Haible <bruno@clisp.org>
parents:
12775
diff
changeset
|
9 setlocale |
8141 | 10 |
11 configure.ac: | |
12 gt_LOCALE_FR_UTF8 | |
13 | |
14 Makefile.am: | |
15 TESTS += test-mbsspn.sh | |
12775
03aab12b3f15
Provide EXEEXT and srcdir in TESTS_ENVIRONMENT by default.
Bruno Haible <bruno@clisp.org>
parents:
12496
diff
changeset
|
16 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' |
8141 | 17 check_PROGRAMS += test-mbsspn |
18 |