cannot run tests when using PERL5LIB (e.g. when using local::lib)

Gabor Szabo szabgab at gmail.com
Thu Feb 11 21:52:35 UTC 2010


On Thu, Feb 11, 2010 at 11:37 PM, Max Kanat-Alexander
<mkanat at bugzilla.org> wrote:
> On 02/11/2010 01:33 PM, Gabor Szabo wrote:
>> When trying to run ./runtests.pl the test t/001compile.t blows up as I am using
>> local::lib and I have PERL5LIB configured to locate the privately installed
>> modules.
>>
>> This patch fixes it.
>> Does it look reasonable?
>
>        Hmm, why doesn't PERL5LIB get passed to the backticks?

because of -T

>
>        You can just use prove on the tests, too, it works OK.

I guess it would suffer from the same problem.


>        Also, you can use install-module.pl to install modules locally in
> Bugzilla's lib dir if you want, too, and that wouldn't require PERL5LIB.

I see, I'll check that, though I'd prefer to use the standard(ish)
installation methods.

Gabor



More information about the developers mailing list