aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkcbanner <kcbanner@gmail.com>2023-04-28 00:20:25 -0400
committerAndrew Kelley <andrew@ziglang.org>2023-09-22 15:08:51 -0700
commit53d1282f0ca98f4be1431998ea9be4939b295c66 (patch)
treec00401d78431a22c3147a75fe21be9328f18ef90 /test
parente011c31ee8e49bda4052ac9b74d088667dc310ba (diff)
downloadzig-53d1282f0ca98f4be1431998ea9be4939b295c66.tar.gz
zig-53d1282f0ca98f4be1431998ea9be4939b295c66.zip
build: add --skip-oom-steps
Specifying this argument causes steps that specify a max_rss that exceeds the total max_rss value of the runner to be skipped, instead of failing.
Diffstat (limited to 'test')
-rw-r--r--test/tests.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tests.zig b/test/tests.zig
index 6f863bae8d..71144db036 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -1052,6 +1052,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
.link_libc = test_target.link_libc,
.target = altered_target,
.zig_lib_dir = .{ .path = "lib" },
+ .max_rss = if (mem.eql(u8, options.name, "std")) 11199083316 else 0,
});
compile_c.addCSourceFile(.{
.file = these_tests.getEmittedBin(),