diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-05-27 11:21:04 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-05-27 20:56:49 -0700 |
| commit | a5e4fe5487d2ac8d8bafceb6edba8ae2d87aa86c (patch) | |
| tree | c56d8eb7c6f84a7e69c398daff147123704ed292 /test | |
| parent | 0937992a14e9557da7d753f3c38070fe57583e33 (diff) | |
| download | zig-a5e4fe5487d2ac8d8bafceb6edba8ae2d87aa86c.tar.gz zig-a5e4fe5487d2ac8d8bafceb6edba8ae2d87aa86c.zip | |
std.Build.Step.Run: account for new environment variable
Introduces `disable_zig_progress` which prevents the build runner from
assigning the child process a progress node.
This is needed for the empty_env test which requires the environment to
be completely empty.
Diffstat (limited to 'test')
| -rw-r--r-- | test/standalone/empty_env/build.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/standalone/empty_env/build.zig b/test/standalone/empty_env/build.zig index b8e488f830..344e8047bd 100644 --- a/test/standalone/empty_env/build.zig +++ b/test/standalone/empty_env/build.zig @@ -21,6 +21,7 @@ pub fn build(b: *std.Build) void { const run = b.addRunArtifact(main); run.clearEnvironment(); + run.disable_zig_progress = true; test_step.dependOn(&run.step); } |
