commit 2a8e15bc067a02b979bc06006f423a6a700ad36f (tree)
parent c5517102e75eb834acca8593711cd96536d3a271
Author: Andrew Kelley <andrew@ziglang.org>
Date: Sun, 24 May 2026 13:30:40 -0700
disable passing zig progress pipe to nsz libc test
however, this does not actually address the test case that started
failing
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/src/Libc.zig b/test/src/Libc.zig
@@ -35,7 +35,7 @@ pub fn addLibcTestCase(
const arena = graph.arena;
const name = arena.dupe(u8, path[0 .. path.len - std.fs.path.extension(path).len]) catch @panic("OOM");
std.mem.replaceScalar(u8, name, '/', '.');
- libc.test_cases.append(libc.b.allocator, .{
+ libc.test_cases.append(arena, .{
.name = name,
.src_file = libc.libc_test_src_path.path(libc.b, path),
.additional_src_file = if (options.additional_src_file) |additional_src_file| libc.libc_test_src_path.path(libc.b, additional_src_file) else null,
@@ -114,6 +114,7 @@ pub fn addTarget(libc: *const Libc, target: std.Build.ResolvedTarget) void {
const run = libc.b.addRunArtifact(exe);
run.setName(annotated_case_name);
run.skip_foreign_checks = true;
+ run.disable_zig_progress = true; // can interfere with fd count assumptions
run.expectStdErrEqual("");
run.expectStdOutEqual("");
run.expectExitCode(0);