mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Allow optional directories
This commit is contained in:
parent
a023c1034b
commit
070803a482
@ -313,7 +313,13 @@ $exts_tested = count($exts_to_test);
|
||||
$exts_skipped = 0;
|
||||
$ignored_by_ext = 0;
|
||||
sort($exts_to_test);
|
||||
$test_dirs = array('tests', 'pear', 'ext');
|
||||
$test_dirs = array('tests', 'ext');
|
||||
$optionals = array('pear', 'Zend', 'ZendEngine2');
|
||||
foreach($optionals as $dir) {
|
||||
if (@filetype($dir) == 'dir') {
|
||||
$test_dirs[] = $dir;
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($test_dirs as $dir) {
|
||||
find_files("{$cwd}/{$dir}", ($dir == 'ext'));
|
||||
|
Loading…
Reference in New Issue
Block a user