From: Johannes Schlüter Date: Thu, 1 Sep 2011 14:52:55 +0000 (+0000) Subject: Improve speed of finding tests (no more CVS, we're on svn now) X-Git-Tag: php-5.3.9RC1~276 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e58f72b6a36a861d966c2e44bad9941f73034f7f;p=php Improve speed of finding tests (no more CVS, we're on svn now) --- diff --git a/run-tests.php b/run-tests.php index 2b584e49c6..fbf51b2a66 100755 --- a/run-tests.php +++ b/run-tests.php @@ -866,7 +866,7 @@ function find_files($dir, $is_ext_dir = false, $ignore = false) while (($name = readdir($o)) !== false) { - if (is_dir("{$dir}/{$name}") && !in_array($name, array('.', '..', 'CVS'))) { + if (is_dir("{$dir}/{$name}") && !in_array($name, array('.', '..', '.svn'))) { $skip_ext = ($is_ext_dir && !in_array(strtolower($name), $exts_to_test)); if ($skip_ext) { $exts_skipped++;