Enable traps here to confirm they don't happen.
authorTaylor R Campbell <campbell@mumble.net>
Fri, 30 Nov 2018 05:51:26 +0000 (05:51 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Fri, 30 Nov 2018 06:53:16 +0000 (06:53 +0000)
tests/runtime/test-arith.scm

index d4d8ff899fc77f8f14f325d1af00535d2109bf79..f9c343d1773e223b2cf98bb599042a7a2920e340 100644 (file)
@@ -766,8 +766,10 @@ USA.
        (flo:preserving-environment
         (lambda ()
           (flo:clear-exceptions! (flo:supported-exceptions))
-          (sqrt x)
-          (flo:test-exceptions (flo:supported-exceptions))))
+          (yes-traps
+           (lambda ()
+             (sqrt x)
+             (flo:test-exceptions (flo:supported-exceptions))))))
        0))))
 
 (define-test 'sqrt-snan