Skip to content

Commit 4fdee6d

Browse files
committed
Test
1 parent e7fe262 commit 4fdee6d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/nightly.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,10 @@ function (): iterable {
127127
$finalStatus = $finalStatus ?: 1;
128128
return;
129129
}
130+
$desc = $parentPids[$res];
130131
unset($parentPids[$res]);
131132
if ($status !== 0) {
132-
printMutex("Child exited with status $status");
133+
printMutex("Child $desc exited with status $status");
133134
$finalStatus = $status;
134135
}
135136
};
@@ -145,7 +146,7 @@ function (): iterable {
145146
foreach ($repos as $dir => [$repo, $branch, $prepare, $command, $repeat]) {
146147
$pid = pcntl_fork();
147148
if ($pid) {
148-
$parentPids[$pid] = true;
149+
$parentPids[$pid] = "Clone $dir";
149150
continue;
150151
}
151152

@@ -166,7 +167,7 @@ function (): iterable {
166167
foreach ($repos as $dir => [$repo, $branch, $prepare, $command, $repeat]) {
167168
$pid = pcntl_fork();
168169
if ($pid) {
169-
$parentPids[$pid] = true;
170+
$parentPids[$pid] = "Test $dir";
170171
if (count($parentPids) >= $parallel) {
171172
$waitOne();
172173
}

0 commit comments

Comments
 (0)