annotate modules/vasnprintf-posix-tests @ 9850:7f3ed6b093be

Guarantee a definition of NAN. * lib/math.in.h (NAN): Define if missing. * tests/test-math.c (main): Test it. * doc/posix-headers/math.texi (math.h): Document this. * lib/isnan.c (rpl_isnand): Use it. * tests/test-ceilf1.c (NaN): Delete, and use NAN instead. * tests/test-floorf1.c (NaN): Likewise. * tests/test-frexp.c (NaN): Likewise. * tests/test-isnand.c (NaN): Likewise. * tests/test-isnanf.c (NaN): Likewise. * tests/test-round1.c (NaN): Likewise. * tests/test-roundf1.c (NaN): Likewise. * tests/test-snprintf-posix.h (NaN): Likewise. * tests/test-sprintf-posix.h (NaN): Likewise. * tests/test-trunc1.c (NaN): Likewise. * tests/test-truncf1.c (NaN): Likewise. * tests/test-vasnprintf-posix.c (NaN): Likewise. * tests/test-vasprintf-posix.c (NaN): Likewise. * modules/isnand-nolibm (Depends-on): Add math. * modules/isnanf-nolibm (Depends-on): Likewise. * modules/isnanl (Depends-on): Likewise. * modules/isnanl-nolibm (Depends-on): Likewise. * modules/snprintf-posix-tests (Depends-on): Likewise. * modules/sprintf-posix-tests (Depends-on): Likewise. * modules/vsnprintf-posix-tests (Depends-on): Likewise. * modules/vsprintf-posix-tests (Depends-on): Likewise. * modules/vasnprintf-posix-tests (Depends-on): Likewise. * modules/vasprintf-posix-tests (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Mon, 31 Mar 2008 20:56:25 -0600
parents afba4e078ebc
children baba3b346ab2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8336
493708637f61 Tests for module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Files:
493708637f61 Tests for module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 tests/test-vasnprintf-posix.c
8401
7296f61797cf Test for internationalization of module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8336
diff changeset
3 tests/test-vasnprintf-posix2.sh
7296f61797cf Test for internationalization of module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8336
diff changeset
4 tests/test-vasnprintf-posix2.c
7296f61797cf Test for internationalization of module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8336
diff changeset
5 m4/locale-fr.m4
8336
493708637f61 Tests for module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
493708637f61 Tests for module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 Depends-on:
9850
7f3ed6b093be Guarantee a definition of NAN.
Eric Blake <ebb9@byu.net>
parents: 9284
diff changeset
8 math
8336
493708637f61 Tests for module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 stdint
493708637f61 Tests for module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10
493708637f61 Tests for module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 configure.ac:
8401
7296f61797cf Test for internationalization of module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8336
diff changeset
12 gt_LOCALE_FR
7296f61797cf Test for internationalization of module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8336
diff changeset
13 gt_LOCALE_FR_UTF8
8336
493708637f61 Tests for module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
493708637f61 Tests for module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 Makefile.am:
8401
7296f61797cf Test for internationalization of module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8336
diff changeset
16 TESTS += test-vasnprintf-posix test-vasnprintf-posix2.sh
7296f61797cf Test for internationalization of module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8336
diff changeset
17 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
7296f61797cf Test for internationalization of module 'vasnprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8336
diff changeset
18 check_PROGRAMS += test-vasnprintf-posix test-vasnprintf-posix2