On Tue, Jun 03, 2003 at 09:44:16PM -0500, Craig A. Berry wrote:
> At 10:48 PM -0700 6/2/03, Michael G Schwern wrote:
> 
> >Since every test does:  chdir($Is_VMS ? 'BFD_TEST_ROOT:[t]' : 't'); if
> >you'd change the BFD_TEST_ROOT definition in 00setup_dummy.t to already be
> >in t/ then we can squeeze out that last directory.  I can't do it since
> >I don't really understand the bfdtesttmp.com code.
> 
> The reason that doesn't work (at least by itself) has now come back
> to me.  If I do that the tests end up looking for their libraries in
> ../lib, but "up one level" is nonsense when you're already at the
> root.  We've definitely been down this path before but never come up
> with a clean solution that didn't break something else.  I'm
> contemplating evil abuse of PERL5LIB, among other things.

The ../lib in INC actually bites on Unix too:

http://nntp.x.perl.org/group/perl.daily-build.reports/5406

This is because I happen to have 5.004 installed in ~/lib, and I'm
smoking in ~/Smoke

Yes, I could just move something. But it doesn't feel right.

Nicholas Clark

Reply via email to