diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-20 19:11:34 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-20 19:11:34 +0000 |
commit | b8c792af85fe3ff65c0cd68e2f291072a60cd953 (patch) | |
tree | 42412a4284461bb1752c864df90aba3abd316287 /math | |
parent | c91e0825251b4f57e8ce1d9d4673bee6e279e0cd (diff) | |
download | glibc-b8c792af85fe3ff65c0cd68e2f291072a60cd953.tar.gz glibc-b8c792af85fe3ff65c0cd68e2f291072a60cd953.tar.xz glibc-b8c792af85fe3ff65c0cd68e2f291072a60cd953.zip |
Allow fesetround failures in math/test-misc.c if ROUNDING_TESTS fails.
Diffstat (limited to 'math')
-rw-r--r-- | math/test-misc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/math/test-misc.c b/math/test-misc.c index 390415ae23..27d673b823 100644 --- a/math/test-misc.c +++ b/math/test-misc.c @@ -1295,7 +1295,11 @@ main (void) if (fesetround (mode)) { printf ("failed to set rounding mode to %s\n", mstr); - result = 1; + if (ROUNDING_TESTS (long double, mode) + && ROUNDING_TESTS (double, mode)) + result = 1; + else + puts ("ignoring this failure"); break; } d5 = ld5 * i; |