X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fop%2Farith.t;h=6009a2843943be6892daf028873312cf9ce89d92;hb=3ab3c9b49fb213f2b1d4cda8797de17be82b2b15;hp=654ce3b85747d683e9072b96fbe531fd78ec07f4;hpb=5a13a130d7c1d8c7c3bfac164c3e3cdc042f6c2b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/op/arith.t b/t/op/arith.t index 654ce3b..6009a28 100755 --- a/t/op/arith.t +++ b/t/op/arith.t @@ -5,6 +5,8 @@ BEGIN { @INC = '../lib'; } +use Config; + print "1..134\n"; sub try ($$) { @@ -277,7 +279,14 @@ tryeq_sloppy 130, 18446744073709551616/9223372036854775808, 2; if ($^O eq 'vos') { print "not ok 134 # TODO VOS raises SIGFPE instead of producing infinity.\n"; -} else { +} +elsif (($^O eq 'VMS') && !defined($Config{useieee})) { + print "ok 134 # SKIP -- the IEEE infinity model is unavailable in this configuration.\n"; +} +elsif ($^O eq 'ultrix') { + print "not ok 134 # TODO Ultrix enters deep nirvana instead of producing infinity.\n"; +} +else { # The computation of $v should overflow and produce "infinity" # on any system whose max exponent is less than 10**1506. # The exact string used to represent infinity varies by OS,