# New Ticket Created by  "Seneca Cunningham" 
# Please include the string:  [perl #59874]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59874 >


Test 27 of t/op/arithmetics.t fails when parrot is built as a 32-bit
binary on Intel OS X 10.5 (64-bit builds pass the test).

MacBook-Pro:build-20081012-32 seneca$ prove -v t/op/arithmetics.t
t/op/arithmetics....1..27
ok 1 - take the negative of a native integer
ok 2 - take the absolute of a native integer
ok 3 - add native integer to native integer
ok 4 - subtract native integer from native integer
ok 5 - multiply native integer with native integer
ok 6 - divide native integer by native integer
ok 7 - turn a native number into its negative
ok 8 - take the absolute of a native number
ok 9 - ceil of a native number
ok 10 - floor of a native number
ok 11 - add native integer to native number
ok 12 - subtract native integer from native number
ok 13 - multiply native number with native integer
ok 14 - divide native number by native integer
ok 15 - add native number to native number
ok 16 - subtract native number from native number
ok 17 - multiply native number with native number
ok 18 - divide native number by native number
ok 19 - lcm_I_I_I
ok 20 - gcd(int,int,int)
ok 21 - is gcd(int,int,int) transitive?
ok 22 - gcd num (with whole numbers)
ok 23 - gcd num (2)
ok 24 - is gcd(int,num,num) transitive?
ok 25 - gcd - 5 args version
ok 26 - is gcd(int,int,int,int,int) transitive?

#   Failed test 'regression test for integer overflow with 'pow''
#   at t/op/arithmetics.t line 843.
# Exited with error code: 1
# Received:
# 2
# 4
# 8
# 16
# 32
# 64
# 128
# 256
# 512
# 1024
# 2048
# 4096
# 8192
# 16384
not ok 27 - regression test for integer overflow with 'pow'
# 32768
# 65536
# 131072
# 262144
# 524288
# 1048576
# 2097152
# 4194304
# 8388608
# 16777216
# 33554432
# 67108864
# 134217728
# 268435456
# 536870912
# 1073741824
# no bigint lib loaded
# current instr.: 'main' pc -1 ((unknown file):-1)
# called from Sub 'main' pc 14
(/opt/src/perl6/build-20081012-32/t/op/arithmetics_27.pir:9)
#
# Expected:
# 2
# 4
# 8
# 16
# 32
# 64
# 128
# 256
# 512
# 1024
# 2048
# 4096
# 8192
# 16384
# 32768
# 65536
# 131072
# 262144
# 524288
# 1048576
# 2097152
# 4194304
# 8388608
# 16777216
# 33554432
# 67108864
# 134217728
# 268435456
# 536870912
# 1073741824
# 2147483648
# 4294967296
# 8589934592
# 17179869184
# 34359738368
# 68719476736
# 137438953472
# 274877906944
# 549755813888
# 1099511627776
#
# Looks like you failed 1 test of 27.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 27
        Failed 1/27 tests, 96.30% okay
Failed Test        Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/op/arithmetics.t    1   256    27    1   3.70%  27
Failed 1/1 test scripts, 0.00% okay. 1/27 subtests failed, 96.30% okay.
MacBook-Pro:build-20081012-32 seneca$

-- 
Seneca Cunningham
<[EMAIL PROTECTED]>

Reply via email to