[subject change to reflect the real topic]
Matt Sergeant wrote:
> Sorry, I guess I wasn't clear. Those are make variables you can set on the
> call to make test. Check a Makefile generated (but one that uses the
> standard test suite, not Apache::Test).
You want to be able to say:
% make test TEST_VERBOSE=1 TEST_FILES=t/*.t
?
is this OK? :
Index: Apache-Test/lib/Apache/TestMM.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestMM.pm,vretrieving
revision 1.15
diff -u -r1.15 TestMM.pm
--- Apache-Test/lib/Apache/TestMM.pm 23 Dec 2001 16:16:24 -0000 1.15
+++ Apache-Test/lib/Apache/TestMM.pm 31 Dec 2001 09:38:52 -0000
@@ -43,14 +43,19 @@
EOF
return $preamble . <<'EOF';
+
+ifeq ($(TEST_VERBOSE), 1)
+ TEST_VERBOSE_OPT = -verbose
+endif
+
test_clean :
$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \
t/TEST -clean
-
+
run_tests : test_clean
$(PASSENV) \
$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \
-
t/TEST
+
t/TEST $(TEST_VERBOSE_OPT) $(TEST_FILES)
test :: pure_all run_tests test_clean
(hope this one wasn't mangled)
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]