ww: put test result trailers on a new line

This commit is contained in:
2026-08-21 06:19:26 +09:00
parent 9b6b1100f4
commit b5fb478613
5 changed files with 281 additions and 9 deletions

View File

@@ -1724,6 +1724,9 @@ fn pkgemitgroup(g: *pkggroup, compileonly: bool) bool = {
return false;
};
pkgput(os.STDOUT_FILENO, runoutput);
if (runoutput.len != 0 && runoutput[runoutput.len - 1] != '\n') {
pkgput(os.STDOUT_FILENO, "\n");
};
if (!pkgrunok(g)) {
pkgreportcommand(os.STDOUT_FILENO, "test", g, &g.runres);
return false;