aboutsummaryrefslogtreecommitdiff
path: root/math/gen-auto-libm-tests.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-01-09 18:27:49 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-01-09 18:27:49 +0000
commitc6be839efded78768ad3c70d7f2e913a9fb8603c (patch)
treeb4f2c3f5989142b0cc87c72213db607efe261333 /math/gen-auto-libm-tests.c
parentc35db50ff51480c39e5ce493561df1c4581da9fc (diff)
downloadglibc-c6be839efded78768ad3c70d7f2e913a9fb8603c.zip
glibc-c6be839efded78768ad3c70d7f2e913a9fb8603c.tar.gz
glibc-c6be839efded78768ad3c70d7f2e913a9fb8603c.tar.bz2
Fix math/test-fenv for no-exceptions / no-rounding-modes configurations.
This patch fixes math/test-fenv.c to check EXCEPTION_TESTS and ROUNDING_TESTS to avoid failing in cases where some exceptions or rounding modes are defined but not supported at runtime. Tested for mips64 soft float and for x86_64. * math/test-fenv.c (fe_tests): Skip most tests when exceptions not supported. (feholdexcept_tests): Skip tests requiring exceptions or rounding modes support if not supported.
Diffstat (limited to 'math/gen-auto-libm-tests.c')
0 files changed, 0 insertions, 0 deletions