On Mon, 20 Jun 2005 13:40:15 -0700, Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> 
wrote:

> On Mon, Jun 20, 2005 at 10:37:30PM +0200, H.Merijn Brand wrote:
> > >     ../lib/Test/Harness/t/strap-analyze.t...FAILED at test 19
> > >     ../lib/Test/Harness/t/test-harness.t....FAILED at test 13
> > 
> > make test:
> > 
> > lib/Test/Harness/t/test-harness...........Can't
> > locate strict.pm in @INC (@INC contains: /pro/lib/perl5/5.9.3/cygwin /pro/
> > lib/ perl5/5.9.3 /pro/lib/perl5/site_perl/5.9.3/cygwin /pro/lib/perl5/
> > site_perl/5.9.3 /pro/lib/perl5/site_perl/5.9.2 /pro/lib/perl5/
> > site_perl/5.6.2 /pro/lib/perl5/site_perl/5.6.1 /pro/lib/perl5/
> > site_perl .). BEGIN failed--compilation aborted.
> 
> I've stared and stared at this and gotten nowhere.  Since you and I seem
> to be the only ones to report it, I'm guessing it's a cygwin-specific
> problem, but how that could be I don't know.
> 
> It does go away if you install a 5.9.3 :)

I found a solution, but I don't know if that is the way it should be.
We probably both stared blank at the first "use strict", but the culprit is
line 475. If I change that to

use Test::Harness;
my @_INC = map { qq{"-I$_"} } @INC;
$Test::Harness::Switches = "@INC -Mstrict";

*my* tests pass.


-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using Perl 5.6.2, 5.8.0, 5.8.5, & 5.9.2  on HP-UX 10.20, 11.00 & 11.11,
 AIX 4.3 & 5.2, SuSE 9.2 & 9.3, and Cygwin. http://www.cmve.net/~merijn
Smoking perl: http://www.test-smoke.org,    perl QA: http://qa.perl.org
 reports  to: [EMAIL PROTECTED],                perl-qa@perl.org

Reply via email to