Subject: Re: [perl-5.8.7] Perl regression tests fail when lib directory is present
From: Michael G Schwern <[email-masked]>
To: "Gerrit P. Haase" <[email-masked]>
Cc: Andrew Ho <[email-masked]>, [email-masked], [email-masked], [email-masked], [email-masked]
Date: Sun, 17 Jul 2005 14:58:02 -0700

On Sun, Jul 17, 2005 at 11:43:39PM +0200, Gerrit P. Haase wrote:
> Nope, Teat::Harness now at version 2.52:
>
> $ make test
> /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 
> 'blib/lib', 'blib/arch')" t/*.t

Ok, see if MakeMaker has anything to do with this by running:

perl -MTest::Harness -Iblib/lib -Iblib/arch -wle 'runtests @ARGV' t/*.t

If it still fails then we know MakeMaker is not involved.  I don't think
it is.

Then try:

perl -MTest::Harness -Iblib/lib -Iblib/arch -wle '$Test::Harness::Debug = 1;  $Test::Harness::Verbose = 1;  runtests @ARGV' t/*.t

The lines we're looking for are "# PERL5LIB=..." from THS->analyze_file()
telling us how TH is setting @INC.

You'll probably also want to look at the output of THS->_command_line().
Unfortunately there's not a $Debug print for that so you should put one in.

Do any of these tests have -T in the #! line?

-- 
Michael G Schwern     [email-masked]     http://www.pobox.com/~schwern
ROCKS FALL! EVERYONE DIES!
	http://www.somethingpositive.net/sp05032002.shtml

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/