Lines Matching refs:test_files
149 $test_files, $test_idx, $test_list, $test_results, $testfile,
367 $test_files = [];
486 $test_files[] = trim($test);
673 $test_files = array_merge($test_files, $pattern_match);
680 $test_files[] = $testfile;
689 if ($selected_tests && count($test_files) === 0) {
709 $test_files = array_unique($test_files);
710 $test_files = array_merge($test_files, $redir_tests);
713 $test_cnt = count($test_files);
720 usort($test_files, "test_sort");
726 run_all_tests($test_files, $environment);
751 $test_files = [];
778 $test_files = array_unique($test_files);
779 usort($test_files, "test_sort");
784 $test_cnt = count($test_files);
786 run_all_tests($test_files, $environment);
1062 global $test_files, $exts_to_test, $ignored_by_ext, $exts_skipped;
1087 $test_files[] = $testfile;
1317 function run_all_tests(array $test_files, array $env, $redir_tested = null): void argument
1326 $test_files = array_filter($test_files, function($test) {
1332 if ($workers !== null && count($test_files) > 1 && !$workerID) {
1333 run_all_tests_parallel($test_files, $env, $redir_tested);
1337 foreach ($test_files as $name) {
1388 function run_all_tests_parallel(array $test_files, array $env, $redir_tested): void argument
1410 foreach ($test_files as $i => $file) {
1432 unset($test_files[$i]);
1441 $test_files = array_reverse($test_files);
1445 shuffle($test_files);
1449 $workers = max(1, min($workers, count($test_files)));
1465 $totalFileCount = count($test_files);
1547 while ($test_files || $sequentialTests || $testsInProgress > 0) {
1584 $test_files[] = $test;
1597 $test_files = array_merge($test_files, $sequentialTests);
1609 while (count($files) <= $batchSize && $file = array_pop($test_files)) {
2281 $test_files = [];
2290 $test_files[] = $org_file[1];
2292 $GLOBALS['test_files'] = $test_files;
2296 $test_files[] = [$f, $file];
2299 $test_cnt += count($test_files) - 1;
2308 usort($test_files, "test_sort");
2309 run_all_tests($test_files, $redirenv, $tested);