mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 05:20:34 +00:00
test-stack-trace: set env to disable color
The tests rely on the absence of terminal escape codes.
This commit is contained in:
parent
ede5dcffea
commit
8a8f148c8c
@ -82,6 +82,8 @@ fn addExpect(
|
||||
});
|
||||
|
||||
const run = b.addRunArtifact(exe);
|
||||
run.removeEnvironmentVariable("ZIG_DEBUG_COLOR");
|
||||
run.setEnvironmentVariable("NO_COLOR", "1");
|
||||
run.expectExitCode(1);
|
||||
run.expectStdOutEqual("");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user