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


I'm getting two test failures in t/oo/mro-c3.t (output below).
It's not clear when this failure first appeared, since the tests
in t/oo haven't been part of the standard 'make test' targets
(see RT #47890).

As part of RT #47886 I've submitted a patch that makes it
easier to add tests to the standard 'make test' targets -- when
that patch is resolved and this bug is fixed we can resolve these
other tickets.

Thanks,

Pm


$ prove -v t/oo/mro-c3.t
t/oo/mro-c3......
1..4
ok 1 - single parent
ok 2 - grandparent
not ok 3 - multiple inheritance

#     Failed test (t/oo/mro-c3.t at line 97)
# Exited with error code: 1
# Received:
# The class '' already has a parent class ''. It may have been supplied by a 
role.
# current instr.: 'test' pc -1 ((unknown file):-1)
# called from Sub 'test' pc 80 
(/home/pmichaud/parrot/trunk/t/oo/mro-c3_3.pir:17)
#
# Expected:
# Method from C called
# Method from B called
# Method from A called
#
not ok 4 - diamond inheritance

#     Failed test (t/oo/mro-c3.t at line 139)
# Exited with error code: 1
# Received:
# The class '' already has a parent class ''. It may have been supplied by a 
role.
# current instr.: 'test' pc -1 ((unknown file):-1)
# called from Sub 'test' pc 144 
(/home/pmichaud/parrot/trunk/t/oo/mro-c3_4.pir:26)
#
# Expected:
# Method from D called
# Method from C called
# Method from B called
# Method from A called
#
# Looks like you failed 2 tests of 4.
 Dubious, test returned 2 (wstat 512, 0x200)
 Failed 2/4 subtests

Test Summary Report
-------------------
t/oo/mro-c3.t (Wstat: 512 Tests: 4 Failed: 2)
  Failed test number(s):  3-4
  Non-zero exit status: 2
Files=1, Tests=4,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.12 cusr  0.04 
csys =  0.18 CPU)
Result: FAIL
$

Reply via email to