perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r220327 - /perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
Date Fri, 22 Jul 2005 14:28:29 GMT
Author: geoff
Date: Fri Jul 22 07:28:25 2005
New Revision: 220327

URL: http://svn.apache.org/viewcvs?rev=220327&view=rev
Log:
make sure mod_perl can run it's own test suite

Modified:
    perl/Apache-Test/trunk/lib/Apache/TestConfig.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/trunk/lib/Apache/TestConfig.pm?rev=220327&r1=220326&r2=220327&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestConfig.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestConfig.pm Fri Jul 22 07:28:25 2005
@@ -184,7 +184,9 @@
     # even if mod_perl2 is installed on the box
     # similarly, we shouldn't be loading mp2 if we're not
     # absolutely certain we're in a 2.X environment yet
-    if ($self->server->{rev} && $self->server->{rev} == 2) {
+    # (such as mod_perl's own build environment)
+    if (($self->server->{rev} && $self->server->{rev} == 2) ||
+        IS_MOD_PERL_2_BUILD) {
         eval {
             require Apache2::Build;
         } or return;



Mime
View raw message