develooper Front page | perl.perl5.porters | Postings from July 2010

Re: Smoke [5.13.2] v5.13.2-131-gf507d6f FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
July 4, 2010 09:50
Subject:
Re: Smoke [5.13.2] v5.13.2-131-gf507d6f FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)
Message ID:
20100704165038.GN31795@plum.flirble.org
On Sat, Jul 03, 2010 at 09:06:23PM -0400, George Greer wrote:
> On Thu, 1 Jul 2010, Nicholas Clark wrote:
> 
> >Yes, I think it's wrong to assume that there is a $PATH perl at all.
> >
> >I'm not sure how to remove that assumption on Win32 - I don't know how
> >process invocation works. I also don't know whether it's viable to simply
> >invoke a batch script.
> 
> There does not appear to be any indication in the environment of the batch 
> file that it is executing in the context of tests from the perl core, so I 

Odd. I thought that $ENV{PERL_CORE} was set to true in the environment of the
test. (There's an exception list in t/TEST, and ../cpan/Test-Harness is not
in it)

> patched the batch file to locate perl.exe itself. There is a small danger 
> that it could locate an errant perl.exe for a CPAN install (it just checks 
> "../../perl.exe").

I'd feel more comfortable if we could work out how to get PERL_CORE into its
environment, and use that as a test, if practical.

Nicholas Clark

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