develooper Front page | perl.perl5.porters | Postings from June 2013

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

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
June 17, 2013 01:44
Subject:
[perl #112926] TestInit and cpan/Archive-Extract/t/01_Archive-Extract.t do not work together
Message ID:
rt-3.6.HEAD-2552-1371433451-1760.112926-15-0@perl.org
On Wed May 16 05:54:57 2012, doughera wrote:
> On Tue, 15 May 2012, Father Chrysostomos via RT wrote:
> 
> > On Tue May 15 18:06:53 2012, jkeenan wrote:
> > > On Mon May 14 06:07:30 2012, doughera wrote:
> > > > 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
> > > 
> > > Error in the name of the test file; it should be:
> > > 
> > > cpan/Archive-Extract/t/01_Archive-Extract.t
> > > 
> > > But, I agree, even with that correction, I can't figure out how to run
> > > the test.
> > 
> > I don’t know anything about the history of TestInit or how it is
> > supposed to work, but I usually follow the instructions that make test
> > prints out when there are failures:
> > 
> > cd t
> > ./perl TEST ../cpan/Archive-Extract/t/01_Archive-Extract.t
> 
> Yes, but 'make test' doesn't actually print out those instructions
anymore 
> (though I think it used to, and I've certainly done that myself). That 
> trick is in pod/perlhack.pod, but it isn't listed in INSTALL.  It's
all in 
> need of further cleanup, and t/TEST lists tests (under %abs) for which 
> this is potentially an issue.
> 
> For this particular case, the answer I was looking for is either
> 
>     ./perl -MTestInit=A cpan/Archive-Extract/t/01_Archive-Extract.t 
> 
> or
> 
>     cd t; ./perl TEST -v ../cpan/Archive-Extract/t/01_Archive-Extract.t 
> 
> or
> 
>     cd t; ./perl harness -v
../cpan/Archive-Extract/t/01_Archive-Extract.t 
> 
> After 5.16.0, I'll take a look again at INSTALL and pod/perlhack.pod and 
> see if I can reduce redundancy, introduce cross references, and put
things 
> where they are most likely to be useful.  I've "taken" this ticket to try 
> to remind myself to do so.
> 


Andy,

Have you had an opportunity to look further into these issues?

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=112926

Thread Previous | Thread Next


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