]> Savannah Git Hosting - gnulib.git/commit
*printf tests: Test printing of signalling NaNs.
authorBruno Haible <bruno@clisp.org>
Fri, 13 Oct 2023 00:39:05 +0000 (02:39 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 13 Oct 2023 00:39:05 +0000 (02:39 +0200)
commit94c7aff8c173175ba0ca6347c6567e66857a49f0
treebb61badb8c9b30625ac8946b5987605469ef58aa
parente5118e049ba258e3ba29a58c3520ba415d3dc555
*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.
15 files changed:
ChangeLog
modules/pipe-filter-gi-tests
modules/pipe-filter-ii-tests
modules/snprintf-posix-tests
modules/sprintf-posix-tests
modules/vasnprintf-posix-tests
modules/vasnwprintf-posix-tests
modules/vasprintf-posix-tests
modules/vsnprintf-posix-tests
modules/vsprintf-posix-tests
tests/test-snprintf-posix.h
tests/test-sprintf-posix.h
tests/test-vasnprintf-posix.c
tests/test-vasnwprintf-posix.c
tests/test-vasprintf-posix.c