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


Refactoring of code in lib/Parrot/Pmc2c/Utils.pm can and should be  
tested with the test suite I provided several weeks ago in t/tools/ 
pmc2cutils/*.t.

One internally used subroutine was refactored out of that module  
today, but apparently the test suite was not run before the file was  
committed to trunk:

[parrot] 507 $ prove t/tools/pmc2cutils/*.t
t/tools/pmc2cutils/00-qualify........ok
t/tools/pmc2cutils/01-pmc2cutils.....NOK 3/27
#     Failed test (t/tools/pmc2cutils/01-pmc2cutils.t at line 34)
#     Parrot::Pmc2c::Utils->can('get_included_paths') failed
# Looks like you failed 1 test of 27.
t/tools/pmc2cutils/01-pmc2cutils.....dubious
         Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 3
         Failed 1/27 tests, 96.30% okay
...

The patch attached remedies this by eliminating the 'can_ok' test for  
the deleted subroutine.

kid51

Attachment: 01-pmc2cutils.t.patch
Description: Binary data

Reply via email to