diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-01-09 18:27:49 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-01-09 18:27:49 +0000 |
commit | c6be839efded78768ad3c70d7f2e913a9fb8603c (patch) | |
tree | b4f2c3f5989142b0cc87c72213db607efe261333 /nptl/tst-pthread-getattr.c | |
parent | c35db50ff51480c39e5ce493561df1c4581da9fc (diff) | |
download | glibc-c6be839efded78768ad3c70d7f2e913a9fb8603c.tar.gz glibc-c6be839efded78768ad3c70d7f2e913a9fb8603c.tar.xz glibc-c6be839efded78768ad3c70d7f2e913a9fb8603c.zip |
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 'nptl/tst-pthread-getattr.c')
0 files changed, 0 insertions, 0 deletions