perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r372641 - /perl/Apache-Test/trunk/lib/Apache/Test.pm
Date Thu, 26 Jan 2006 22:58:43 GMT
Author: colm
Date: Thu Jan 26 14:58:41 2006
New Revision: 372641

URL: http://svn.apache.org/viewcvs?rev=372641&view=rev
Log:
Revert a _need_multi change partially, to get back to original point
of _need_multi

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

Modified: perl/Apache-Test/trunk/lib/Apache/Test.pm
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/trunk/lib/Apache/Test.pm?rev=372641&r1=372640&r2=372641&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/Test.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/Test.pm Thu Jan 26 14:58:41 2006
@@ -376,12 +376,16 @@
     my $reason = join ' or ', @need;
     my $rc;
 
-    $rc = grep { need_module($_) } @need;
+    {
+        local @SkipReasons;
+
+        $rc = grep { need_module($_) } @need;
+    }
 
     push @SkipReasons, "cannot find one of $reason"
         unless $rc;
 
-    return $rc;
+    return $rc;     
 }
 
 sub need_apache {



Mime
View raw message