Skip to content

Commit 798d712

Browse files
committed
debug
1 parent 452e89d commit 798d712

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

run-tests.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,6 +1561,7 @@ function run_all_tests_parallel(array $test_files, array $env, $redir_tested): v
15611561

15621562
switch ($message["type"]) {
15631563
case "tests_finished":
1564+
echo "Tests Finished\n";
15641565
$testsInProgress--;
15651566
foreach ($activeConflicts as $key => $workerId) {
15661567
if ($workerId === $i) {
@@ -1600,6 +1601,7 @@ function run_all_tests_parallel(array $test_files, array $env, $redir_tested): v
16001601
$files[] = $file;
16011602
}
16021603
if ($files) {
1604+
echo "Scheduling " . count($files) . " tests\n";
16031605
foreach ($files as $file) {
16041606
foreach ($fileConflictsWith[$file] as $conflictKey) {
16051607
$activeConflicts[$conflictKey] = $i;
@@ -1613,6 +1615,7 @@ function run_all_tests_parallel(array $test_files, array $env, $redir_tested): v
16131615
"redir_tested" => $redir_tested
16141616
]);
16151617
} else {
1618+
echo "Terminating $i\n";
16161619
proc_terminate($workerProcs[$i]);
16171620
unset($workerProcs[$i]);
16181621
unset($workerSocks[$i]);

0 commit comments

Comments
 (0)