mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Fix run-tests.php counting an uncountable
This commit is contained in:
parent
78f2bce68a
commit
b476d21962
@ -1637,7 +1637,7 @@ TEST $file
|
||||
$IN_REDIRECT['dir'] = realpath(dirname($file));
|
||||
$IN_REDIRECT['prefix'] = trim($section_text['TEST']);
|
||||
|
||||
if (count($IN_REDIRECT['TESTS']) == 1) {
|
||||
if (!empty($IN_REDIRECT['TESTS'])) {
|
||||
|
||||
if (is_array($org_file)) {
|
||||
$test_files[] = $org_file[1];
|
||||
|
Loading…
Reference in New Issue
Block a user