On Dec 5, 2007, at 12:49 PM, chromatic via RT wrote:
On Wednesday 05 December 2007 09:27:58 James Keenan via RT wrote:
... and on Windows:
http://tinyurl.com/2mvrhz
So they're pretty much borken all around.
What happens when you do:
$ parrot -o i.pbc -a - <<EOF
print 0x10203040
end
EOF
$ mv i.pbc t/native_pbc/integer_${N}.pbc
... and run the integer test again?
-- c
On Linux/x86:
[parrot] 515 $ ./parrot -o i.pbc -a - <<EOF
print 0x10203040
end
EOF
[parrot] 516 $ mv i.pbc t/native_pbc/integer_${N}.pbc
[parrot] 517 $ prove -v t/native_pbc/integer.t
t/native_pbc/number.t
t/native_pbc/integer....1..1
# Failed test (t/native_pbc/integer.t at line 56)
# Exited with error code: [SIGNAL 11]
# Received:
#
# Expected:
# 270544960
not ok 1 - i386 32 bit opcode_t, 32 bit intval
# Looks like you failed 1 test of 1.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/native_pbc/number.....1..1
not ok 1 - i386 double float 32 bit opcode_t
# Failed test (t/native_pbc/number.t at line 86)
# got:
'012345678910111213141516171819202122232425'
# expected: '1.000000
# 4.000000
# 16.000000
# 64.000000
# 256.000000
# 1024.000000
# 4096.000000
# 16384.000000
# 65536.000000
# 262144.000000
# 1048576.000000
# 4194304.000000
# 16777216.000000
# 67108864.000000
# 268435456.000000
# 1073741824.000000
# 4294967296.000000
# 17179869184.000000
# 68719476736.000000
# 274877906944.000000
# 1099511627776.000000
# 4398046511104.000000
# 17592186044416.000000
# 70368744177664.000000
# 281474976710656.000000
# 1125899906842620.000000
# '
# Looks like you failed 1 test of 1.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed
List of Failed
------------------------------------------------------------------------
-------
t/native_pbc/integer.t 1 256 1 1 100.00%
1
t/native_pbc/number.t 1 256 1 1 100.00%
1
Failed 2/2 test scripts, 0.00% okay. 2/2 subtests
failed, 0.00% okay.
On Darwin/PPC (r23512):
[parrot] 505 $ ./parrot -o i.pbc -a - <<EOF
> print 0x10203040
> end
> EOF
[parrot] 506 $ mv i.pbc t/native_pbc/integer_${N}.pbc
[parrot] 507 $ prove -v t/native_pbc/integer.t t/native_pbc/number
number.t number_2.pbc number_4.pbc
number_1.pbc number_3.pbc number_5.pbc
[parrot] 507 $ prove -v t/native_pbc/integer.t t/native_pbc/number.t
t/native_pbc/integer....1..1
not ok 1 - i386 32 bit opcode_t, 32 bit intval
# Failed test (t/native_pbc/integer.t at line 56)
# Exited with error code: [SIGNAL 11]
# Received:
#
# Expected:
# 270544960
# Looks like you failed 1 test of 1.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/native_pbc/number.....1..1
not ok 1 - i386 double float 32 bit opcode_t
# Failed test (t/native_pbc/number.t at line 86)
# got: '012345678910111213141516171819202122232425'
# expected: '1.000000
# 4.000000
# 16.000000
# 64.000000
# 256.000000
# 1024.000000
# 4096.000000
# 16384.000000
# 65536.000000
# 262144.000000
# 1048576.000000
# 4194304.000000
# 16777216.000000
# 67108864.000000
# 268435456.000000
# 1073741824.000000
# 4294967296.000000
# 17179869184.000000
# 68719476736.000000
# 274877906944.000000
# 1099511627776.000000
# 4398046511104.000000
# 17592186044416.000000
# 70368744177664.000000
# 281474976710656.000000
# 1125899906842620.000000
# '
# Looks like you failed 1 test of 1.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------------------
-------
t/native_pbc/integer.t 1 256 1 1 1
t/native_pbc/number.t 1 256 1 1 1
Failed 2/2 test scripts. 2/2 subtests failed.
Files=2, Tests=2, 10 wallclock secs ( 0.31 cusr + 0.19 csys = 0.50
CPU)
Failed 2/2 test programs. 2/2 subtests failed.
Summary: no change in results; both tests still failing