mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
*printf tests: Test printing of signalling NaNs.
These tests run without sigfpe_on_invalid(), therefore they won't crash. * tests/test-vasnprintf-posix.c: Include snan.h. (test_function): For each test case that uses NaNd or NaNl, add a test case with SNaNd or SNaNl, respectively. * tests/test-vasprintf-posix.c: Likewise. * tests/test-snprintf-posix.h: Likewise. * tests/test-sprintf-posix.h: Likewise. * tests/test-vasnwprintf-posix.c: Likewise. * modules/vasnprintf-posix-tests (Depends-on): Add snan. * modules/vasprintf-posix-tests (Depends-on): Likewise. * modules/vsnprintf-posix-tests (Depends-on): Likewise. * modules/snprintf-posix-tests (Depends-on): Likewise. * modules/vsprintf-posix-tests (Depends-on): Likewise. * modules/sprintf-posix-tests (Depends-on): Likewise. * modules/vasnwprintf-posix-tests (Depends-on): Likewise. * modules/pipe-filter-gi-tests (Depends-on): Likewise. * modules/pipe-filter-ii-tests (Depends-on): Likewise.
This commit is contained in:
@@ -10,6 +10,7 @@ Depends-on:
|
||||
stdint
|
||||
float
|
||||
nan
|
||||
snan
|
||||
|
||||
configure.ac:
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
|
Reference in New Issue
Block a user