bifurcate output into stderr and stdout

This commit is contained in:
Nikita Smith authored and Ryan Fleury committed 2026-06-02 12:09:52 -07:00
1 parent 3878a4cd95
commit b6bc8d89b0
2 files changed
+15 -11

No files matched your search

+6 -2
View File
@@ -155,8 +155,12 @@ t_run_caller(void *raw_ctx)
for EachNode(n, String8Node, test_out.first) {
fprintf(stderr, "%.*s", str8_varg(n->string));
}
fprintf(stderr, "STDERR:\n", str8_varg(g_errors));
fprintf(stderr, "STDOUT:\n", str8_varg(g_output));
if (g_errors.size) {
fprintf(stderr, "STDERR:\n", str8_varg(g_errors));
}
if (g_output.size) {
fprintf(stderr, "STDOUT:\n", str8_varg(g_output));
}
}
scratch_end(scratch);
}