On Tuesday, June 10, 2003, at 01:23PM, <[EMAIL PROTECTED]> wrote:

>I have more information on the lib/ExtUtils/t/basic.t test hang.
>It does not work at all unless I have a logical name PERL_CORE
>defined.  I could add a DEFINE and DEASSIGN to TEST.COM

No, PERL_CORE needs to be defined for many tests that run in the core.  In particular, 
packages that lead a double life on CPAN and in the core need to know which context 
they're in when running tests.

>but unfortunately it is still stuck on trying to carry out File::Find like
>activities.  For example in an environment where I cannot override
>the definition of a logical named SITE_PERL and with PERL_CORE
>defined to be "1" I see:
>
>$ define perl_core
>_Equ name: "1"
>$ perl lib/extutils/t/basic.t
>1..54

>ok 30 -   install dir created
>Can't cd to (../dummy-install/lib/site_perl/) file: invalid argument
> at lib/extutils/t/basic.t line 127
>

Does it hang at this point, or just fail?  There are two things I spot right off that 
will prevent this test from running as you are attempting.  One is that you are not, 
apparently, running from the [.t] directory.  The other is you did not (I'm guessing) 
first run t/lib/ExtUtils/t/00setup_dummy.t.  If not, a bunch of things the MakeMaker 
tests need will not be present.  It all gets cleaned up by running 
lib/ExtUtils/t/zz_cleanup_dummy.t.

Reply via email to