On Tue, 2 Apr 2002, Michael G Schwern wrote:

> On Mon, Apr 01, 2002 at 10:56:14AM -0600, Dave Rolsky wrote:
> > > Hmmm.  This can't be preserved.  Wouldn't it be a lot less magical to
> > > just put the %ENV logic into your tests, or a library in t/lib which
> > > your tests use?
> >
> > I'm not sure what you mean about putting it _in_ the tests.  We have to
> > set the variables somewhere.  But yes, I could write out a file to t/lib.
>
> Oh, you want arguments passed into Makefile.PL to be passed through to
> your tests.  errmmm... generate a config file.  Sorry I can't think of
> anything more imaginative.

Well, as you already pointed out.  The real problem is that MakeMaker
encouraged you to play with the actual Makefile contents.

And even though there are ways around it for tests, what about for the
install process?  What if I need to run a few as part of the 'make
install' bit?  How else can I make that happen besides fiddling with the
Makefile text itself?


-dave

/*==================
www.urth.org
we await the New Sun
==================*/

Reply via email to