Re: [Module-build-general] [BUG] runthrough.t test fails - disttest @INC problem
Status: Beta
Brought to you by:
kwilliams
|
From: Steve P. <sp...@qu...> - 2003-07-18 18:17:26
|
On Friday, July 18, 2003, at 05:25 pm, Ken Williams wrote: > On Friday, July 18, 2003, at 11:08 AM, Ken Williams wrote: > >> On Friday, July 18, 2003, at 07:13 AM, Steve Purkis wrote: >> >>> Hiya, >>> >>> I figure this may be a known bug, but thought I'd report it anyway. >>> If I run: >>> >>> % perl -Mblib t/runthrough.t >>> >>> it fails - see below for the error. When I checked >>> ACTION_disttest(), I saw the line: >>> >>> # XXX doesn't propagate @INC >>> >>> which looks to me like the problem. Not a show-stopper, but >>> confusing in development. >> >> >> Hi Steve, >> >> This is a semi-known bug. =) Meaning that it's known, but not really >> understood yet. Ah, one of those eh? :) > So, maybe the patch below is all that's required. (Patch is against > current CVS.) That's done it. FYI: looks like cmdline arguments were not filtering through in $self->run_perl_script. Before I applied your patch, this worked: PERL5LIB=$PWD/blib/lib perl t/runthrough.t If this pops up somewhere else, it might be an idea to move the fix into run_perl_script()... Ta for that, -Steve |