aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-05-27 11:21:04 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-05-27 20:56:49 -0700
commita5e4fe5487d2ac8d8bafceb6edba8ae2d87aa86c (patch)
treec56d8eb7c6f84a7e69c398daff147123704ed292 /test
parent0937992a14e9557da7d753f3c38070fe57583e33 (diff)
downloadzig-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.zig1
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);
}