]> Savannah Git Hosting - gnulib.git/commit
fenv-exceptions-tracking-c99 tests: Enhance tests.
authorBruno Haible <bruno@clisp.org>
Sun, 5 Nov 2023 13:50:08 +0000 (14:50 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 5 Nov 2023 13:55:27 +0000 (14:55 +0100)
commitfe2c2458ee6d0dcf752281e7230f254e339d0714
tree0efa39961367c8a2c81c502fc72d70231968844c
parent45d01c797646d9d89d44405b1841009c949ed325
fenv-exceptions-tracking-c99 tests: Enhance tests.

* tests/test-fenv-except-tracking-3.sh: Test not only FE_INVALID, but
also FE_DIVBYZERO, FE_OVERFLOW, FE_UNDERFLOW, FE_INEXACT.
* tests/test-fenv-except-tracking-3.c: Include <stdlib.h>, <string.h>.
Don't include fpe-trapping.h. Assume HAVE_FPE_TRAPPING is 1.
(main): Receive the exception to test as first argument.
ChangeLog
tests/test-fenv-except-tracking-3.c
tests/test-fenv-except-tracking-3.sh