Fix run-tests.php counting an uncountable

This commit is contained in:
Craig Duncan 2016-11-05 17:19:16 +00:00 committed by Joe Watkins
parent 78f2bce68a
commit b476d21962

View File

@ -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];