Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41704] [BUG]: Test failures: t/pmc/object-mro.t t/pmc/timer.t

0 views
Skip to first unread message

James Keenan

unread,
Mar 5, 2007, 8:05:49 AM3/5/07
to bugs-bi...@rt.perl.org
# New Ticket Created by James Keenan
# Please include the string: [perl #41704]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41704 >


This morning I encountered test failures when running 'make test' in
three scripts:

t/perl/Parrot_Distribution.t
t/pmc/object-mro.t
t/pmc/timer.t

1. The failure in Parrot_Distribution.t is for known reasons and
we're working on it. No further comment needed here.

2. Here's the output of prove -v t/pmc/object-mro.t:

[bt] 603 $ prove -v t/pmc/object-mro.t
t/pmc/object-mro....1..6
ok 1 - print mro diamond
ok 2 - print mro 1
ok 3 - print mro 2
ok 4 - print mro 3
not ok 5 - print mro 4

# Failed test (t/pmc/object-mro.t at line 243)
# got: 'Class Object already registered!
# current instr.: 'main' pc 0 (/Users/jimk/work/bt/t/pmc/object-
mro_5.pir:27)
# '
# expected: 'Vulcan Intelligent Sentient Humanoid BiPedal
LifeForm Object R
# '
# './parrot "/Users/jimk/work/bt/t/pmc/object-mro_5.pir"' failed
with exit code 1
ok 6 - mro error 1
# Looks like you failed 1 test of 6.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/6 tests, 83.33% okay

I've experienced this failure repeatedly over the past two days. At
first I thought it was due to my patches to ops2c.pl, and I went so
far as to pull my patch submission this morning. However, I then did
a fresh checkout from trunk (i.e., I did *not* use my patches) and
configured Parrot and ran 'make' as usual.* 'make' succeeded, but I
once again got this failure in object-mro.t:

3. While running 'make test', I got this error in t/pmc/timer.t -- a
script that had always passed before.

t/pmc/timer..............................
# Failed test (t/pmc/timer.t at line 129)
# got: 'ok 1
# never
# ok 2
# '
# expected: 'ok 1
# ok 2
# '
# Looks like you failed 1 test of 8.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
Failed 1/8 tests, 87.50% okay

However, I was unable to reproduce the test failure when running it
through prove:

[bt] 603 $ prove -v t/pmc/timer.t
t/pmc/timer.........1..8
ok 1 - Timer setup
ok 2 - Timer setup - initializer
ok 3 - Timer setup - initializer/start
ok 4 - Timer setup - initializer/start/stop
ok 5 - Timer setup - initializer/start/repeat
ok 6 - Timer setup - initializer/start/destroy
ok 7 - Timer setup - timer in array destroy
ok 8 - check whether interface is done
ok

*"As usual" means, as it has for several months, that in order to get
Parrot to 'make' on Darwin, I have to use the workaround suggested by
Coke (myconfigure.sh, attached), and that I have to use the next-to-
most-recent version of Configure.pl (attached) as reported on Jan 7
in http://rt.perl.org/rt3/Ticket/Display.html?id=41195

Can anyone shed any light, particularly on t/pmc/object-mro.t? Thank
you very much.

kid51

myconfigure.sh
myconfig
Configure.pl
0 new messages