You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-commits@perl.apache.org by ge...@apache.org on 2005/03/21 17:10:17 UTC

svn commit: r158477 - perl/Apache-Test/trunk/lib/Apache/TestHarnessPHP.pm

Author: geoff
Date: Mon Mar 21 08:10:15 2005
New Revision: 158477

URL: http://svn.apache.org/viewcvs?view=rev&rev=158477
Log:
blarg.  skip all of t/conf, t/htdocs, and t/logs as places
to find tests.
this should probably be back-ported to TestHarness.pm

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

Modified: perl/Apache-Test/trunk/lib/Apache/TestHarnessPHP.pm
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/trunk/lib/Apache/TestHarnessPHP.pm?view=diff&r1=158476&r2=158477
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestHarnessPHP.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestHarnessPHP.pm Mon Mar 21 08:10:15 2005
@@ -77,7 +77,7 @@
         else {
             finddepth(sub {
                           return unless /\.(t|php)$/;
-                          return if /test-more.php$/;
+                          return if $File::Find::dir =~ m/\b(conf|htdocs|logs)\b/;
                           my $t = catfile $File::Find::dir, $_;
                           my $dotslash = catfile '.', "";
                           $t =~ s:^\Q$dotslash::;