]> granicus.if.org Git - php/commitdiff
Improve speed of finding tests (no more CVS, we're on svn now)
authorJohannes Schlüter <johannes@php.net>
Thu, 1 Sep 2011 14:52:55 +0000 (14:52 +0000)
committerJohannes Schlüter <johannes@php.net>
Thu, 1 Sep 2011 14:52:55 +0000 (14:52 +0000)
run-tests.php

index 2b584e49c6a560eb0582dc1228cd61484b8214cc..fbf51b2a668ddda4f6dd9bafa81c5c83410bef32 100755 (executable)
@@ -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++;