delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/17/17:58:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 17 Jul 2005 14:58:02 -0700
From: Michael G Schwern <schwern AT pobox DOT com>
To: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Cc: Andrew Ho <andrew AT tellme DOT com>, cygwin AT cygwin DOT com, makemaker AT perl DOT org,
perl5-porters AT perl DOT org, petdance AT cpan DOT org
Subject: Re: [perl-5.8.7] Perl regression tests fail when lib directory is present
Message-ID: <20050717215802.GA6714@windhund.schwern.org>
References: <Pine DOT GSO DOT 4 DOT 62 DOT 0507160052140 DOT 18081 AT shell02 DOT corp DOT tellme DOT com> <42D8D5F3 DOT 9060307 AT familiehaase DOT de> <Pine DOT GSO DOT 4 DOT 62 DOT 0507161219350 DOT 18081 AT shell02 DOT corp DOT tellme DOT com> <42DA398D DOT 60802 AT familiehaase DOT de> <20050717195041 DOT GC5605 AT windhund DOT schwern DOT org> <42DABCA8 DOT 2020603 AT familiehaase DOT de> <20050717211809 DOT GB6411 AT windhund DOT schwern DOT org> <42DAD10B DOT 4080807 AT familiehaase DOT de>
Mime-Version: 1.0
In-Reply-To: <42DAD10B.4080807@familiehaase.de>
User-Agent: Mutt/1.4.2.1i

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     schwern AT pobox DOT com     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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019