Hi there,

Now seeming like a reasonable time I decided to 
take parrot for a test ride of HPUX. There seem to
be a few problems both with IO(these seem to be also happening
on linux) and objects.

bash$ perl t/pmc/io.t
1..20
Useless use of a constant in void context at t/pmc/io.t line 108.
ok 1 - open/close
ok 2 - timely destruction
ok 3 - getfd/fdopen
ok 4 - fdopen - no close
ok 5 - get_bool
not ok 6 - read on invalid fh should throw exception
#     Failed test (t/pmc/io.t at line 114)
#          got: 'ok 1
# '
#     expected: 'ok 1
# ok 2
# ok 3
# ok 4
# '
ok 7 # skip clone not finished yet
ok 8 - open and readline
ok 9 - open & print
ok 10 - 3-arg open
ok 11 - open and close
ok 12 - file contents
ok 13 - append
ok 14 - append file contents
ok 15 - write to file
ok 16 - file contents
ok 17 - standard file descriptors
ok 18 - printerr
ok 19 - puts method
ok 20 - seek/tell
# Looks like you failed 1 tests of 20.

bash$ ./parrot t/pmc/io_6.pasm 
ok 1
Segmentation fault (core dumped)

(gdb) backtrace
#0  0x14e6f4 in PIO_setlinebuf () from ./parrot
#1  0x168b44 in cg_core () from ./parrot
#2  0x130a98 in runops_cgoto_core () from ./parrot
#3  0x9b780 in runops_int () from ./parrot
#4  0x9b83c in runops_ex () from ./parrot
#5  0x9bae0 in runops () from ./parrot
#6  0xa7e44 in Parrot_runcode () from ./parrot
#7  0x93b74 in main () from ./parrot



bash$ perl t/pmc/objects.t 
1..4
ok 1 - findclass (base class)
not ok 2 - findclass (subclass)
#     Failed test (t/pmc/objects.t at line 22)
#          got: 'Can't subclass a non-class!'
#     expected: '1
# 1
# 0
# '
# './parrot  t/pmc/objects_2.pasm' failed with exit code 2
not ok 3 - classname
#     Failed test (t/pmc/objects.t at line 45)
#          got: ''
#     expected: 'Foo
# Bar
# Baz
# '
ok 4 - getclass
# Looks like you failed 2 tests of 4.

bash$ ./parrot t/pmc/objects_2.pasm 
Can't subclass a non-class!bash$ 

bash$ ./parrot t/pmc/objects_3.pasm 
Segmentation fault (core dumped)

(gdb) backtrace
#0  0x0 in ?? ()
#1  0x1793e8 in cg_core () from ./parrot
#2  0x9b780 in runops_int () from ./parrot
#3  0x9b83c in runops_ex () from ./parrot
#4  0x9bae0 in runops () from ./parrot
#5  0xa7e44 in Parrot_runcode () from ./parrot
#6  0x93b74 in main () from ./parrot


bash$ uname -a
HP-UX cibs1dv B.11.00 A 9000/800 unknown

bash$ perl -v

This is perl, v5.8.0 built for PA-RISC2.0

bash$ gcc -v
Reading specs from
/usr/cygnus/bin/../lib/gcc-lib/hppa1.1-hp-hpux11.00/2.96-hppa-010528/specs
gcc version 2.96-hppa-010528
AOL: cmlevel=4 cmdate='Feb 18 2002' cmcompiler='2.96-hppa-010528'


Thanks
Peter
-- 
Our goal is to quickly utilize business leadership skills and dramatically 
customize quality data in order to solve business problems

Reply via email to