On Tue, 11 Sep 2001, Stas Bekman wrote:
 
> I need to autogenerate files which are needed during server startup. The
> test's configure won't be run before the server gets started. It's an egg
> and chicken problem.
> 
> So should I try to make all tests require'able outside httpd and get the
> APACHE_TEST_CONFIGURE working or do you have any other ideas?
> 
> Of course I can just cvs commit the files, but it makes the test spread
> out across too many files, and I don't like it.

how about having a list of tests that need APACHE_TEST_CONFIGURE:

my @needs_configure = qw(TestFoo::bar);

and just require those?  yeah, it'd be nice not to maintain such a list,
but considering the number of .pm tests who will have
APACHE_TEST_CONFIGURE are far less than those without.  and we can always
drop that later if needed.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to