about summary refs log tree commit diff
path: root/math/test-fexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/test-fexcept.c')
-rw-r--r--math/test-fexcept.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/test-fexcept.c b/math/test-fexcept.c
index 6aa54b49b4..854080173a 100644
--- a/math/test-fexcept.c
+++ b/math/test-fexcept.c
@@ -61,7 +61,13 @@ test_set (int initial, const fexcept_t *saved, int mask, int expected)
   if (ret != 0)
     {
       puts ("feraiseexcept failed");
-      result = 1;
+      if (initial == 0 || EXCEPTION_TESTS (float))
+	{
+	  puts ("failure of feraiseexcept was unexpected");
+	  result = 1;
+	}
+      else
+	puts ("failure of feraiseexcept OK, skipping further tests");
       return result;
     }
   ret = fesetexceptflag (saved, mask);