I am working on an Apache::Test based test framework, and being able to pass extra conditionnal
arguments to t/TEST thru make test would be very much usefull. Since right now, you can only
turn verbose on or off.
$> make test TEST_EXTRA_ARGS="-port 8899 -debug=gdb"
For instance. Otherwise, I end up creating other make targets that look like
some_special_test: $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \ t/TEST -port 8899 -bugreport -verbose=$(TEST_VERBOSE) $(TEST_FILES)
Forcing me to duplicate too much code for my taste.
Thoughts?
+1 on the concept
I'm not sure about the name choice. $(TEST_VERBOSE) and $(TEST_FILES) are the same as other Test packages use. Do they have $TEST_EXTRA_ARGS too? Otherwise we may better use some name specific to Apache-Test?
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com