stas 2004/08/15 15:47:14
Modified: . Makefile.PL Changes
Log:
ensure that a sub-dir Apache-Test exists in the source distro (this is
a requirement, since the test suite relies on the particular
Apache-Test version distributed with the mod_perl source)
Revision Changes Path
1.155 +10 -0 modperl-2.0/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -u -r1.154 -r1.155
--- Makefile.PL 15 Aug 2004 00:17:46 -0000 1.154
+++ Makefile.PL 15 Aug 2004 22:47:14 -0000 1.155
@@ -112,6 +112,16 @@
}
sub configure {
+
+ # mod_perl test suite relies on having Apache-Test bundled with
+ # the mod_perl source, since any pre-installed version may not do
+ # the right thing
+ unless (-d "Apache-Test") {
+ error "Can't find a sub-directory Apache-Test. " .
+ "Make sure that you are using a complete source distribution";
+ exit 1;
+ }
+
set_modperl_version();
if ($old_modperl_version) {
1.449 +4 -0 modperl-2.0/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/modperl-2.0/Changes,v
retrieving revision 1.448
retrieving revision 1.449
diff -u -u -r1.448 -r1.449
--- Changes 15 Aug 2004 20:06:51 -0000 1.448
+++ Changes 15 Aug 2004 22:47:14 -0000 1.449
@@ -12,6 +12,10 @@
=item 1.99_15-dev
+ensure that a sub-dir Apache-Test exists in the source distro (this is
+a requirement, since the test suite relies on the particular
+Apache-Test version distributed with the mod_perl source) [Stas]
+
combine handler resolving failure error with the actual error, so
there is only one logged entry [Stas]