geoff 2004/10/18 07:59:45
Modified: perl-framework/Apache-Test/lib/Apache TestMM.pm
Log:
get cmodules target working - you can't make without a Makefile, which
isn't generated until t/TEST -conf
Revision Changes Path
1.41 +8 -3
httpd-test/perl-framework/Apache-Test/lib/Apache/TestMM.pm
Index: TestMM.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestMM.pm,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- TestMM.pm 12 Oct 2004 13:54:18 -0000 1.40
+++ TestMM.pm 18 Oct 2004 14:59:45 -0000 1.41
@@ -96,10 +96,15 @@
test :: pure_all test_clean run_tests
-cmodules:
+test_config :
+ $(PASSENV) \
+ $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \
+ t/TEST $(APACHE_TEST_EXTRA_ARGS) -conf
+
+cmodules: test_config
cd c-modules && $(MAKE) all
-
-cmodules_clean:
+
+cmodules_clean: test_config
cd c-modules && $(MAKE) clean
EOF