authorgravatar for arthurcarvalhot@yahoo.com.brArthur Teixeira <arthurcarvalhot@yahoo.com.br> 2026-06-22 11:06:09-03:00
committergravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2026-06-27 03:19:14+02:00
log8f7febfa6f5900e64bee1636c2bbc13bd5a52bd6
tree19045355fa08a615d542e67e8dbacaafc6b1952c
parente0e91d13cd43f265295e6dd9f98d49b098bd302c

Step Runner: set color environment variables before executing test step


1 files changed, 1 insertions(+), 0 deletions(-)

lib/compiler/Maker/Step/Run.zig+1
...@@ -2306,6 +2306,7 @@ fn spawnChildAndCollect(...@@ -2306,6 +2306,7 @@ fn spawnChildAndCollect(
2306 };2306 };
23072307
2308 if (conf_run.flags.stdio == .zig_test) {2308 if (conf_run.flags.stdio == .zig_test) {
2309 try setColorEnvironmentVariables(&conf_run, environ_map, graph.stderr_mode.?);
2309 const started: Io.Clock.Timestamp = .now(io, .awake);2310 const started: Io.Clock.Timestamp = .now(io, .awake);
2310 const result = evalZigTest(run, run_index, maker, progress_node, spawn_options, fuzz_context) catch |err| switch (err) {2311 const result = evalZigTest(run, run_index, maker, progress_node, spawn_options, fuzz_context) catch |err| switch (err) {
2311 error.Canceled => |e| return e,2312 error.Canceled => |e| return e,