develooper Front page | perl.perl5.porters | Postings from May 2012

[perl #112926] TestInit and cpan/Archive-Extract/t/01_Archive-Extract.t do not work together

Thread Previous
From:
Andy Dougherty
Date:
May 15, 2012 04:46
Subject:
[perl #112926] TestInit and cpan/Archive-Extract/t/01_Archive-Extract.t do not work together
Message ID:
rt-3.6.HEAD-4610-1337000851-431.112926-75-0@perl.org
# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #112926]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112926 >


While trying to track down a failed test in Archive-Extract, I tried following
the instructions in the INSTALL file:

    ./perl -MTestInit cpan/Archive-Extract/t/01/Archive-Extract.t

Can't locate strict.pm in @INC (@INC contains: ../../lib ../../t .) at cpan/Archive-Extract/t/01_Archive-Extract.t line 7.
BEGIN failed--compilation aborted at cpan/Archive-Extract/t/01_Archive-Extract.t line 7.
Undefined subroutine &main::rmtree called at cpan/Archive-Extract/t/01_Archive-Extract.t line 5.
END failed--call queue aborted at cpan/Archive-Extract/t/01_Archive-Extract.t line 7.

TestInit.pm and the Archive-Extract test appear to have conflicting
ideas about where the test is to be run, and what the appropriate @INC
for it is.

-- 
    Andy Dougherty		doughera@lafayette.edu


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About