authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-05-24 13:30:40-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-05-25 18:54:36-07:00
log2a8e15bc067a02b979bc06006f423a6a700ad36f
treeb189ea424507c7ab6dd34533b8c477a5c5018a41
parentc5517102e75eb834acca8593711cd96536d3a271

disable passing zig progress pipe to nsz libc test

however, this does not actually address the test case that started failing

1 files changed, 2 insertions(+), 1 deletions(-)

test/src/Libc.zig+2-1
......@@ -35,7 +35,7 @@ pub fn addLibcTestCase(
3535 const arena = graph.arena;
3636 const name = arena.dupe(u8, path[0 .. path.len - std.fs.path.extension(path).len]) catch @panic("OOM");
3737 std.mem.replaceScalar(u8, name, '/', '.');
38 libc.test_cases.append(libc.b.allocator, .{
38 libc.test_cases.append(arena, .{
3939 .name = name,
4040 .src_file = libc.libc_test_src_path.path(libc.b, path),
4141 .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 {
114114 const run = libc.b.addRunArtifact(exe);
115115 run.setName(annotated_case_name);
116116 run.skip_foreign_checks = true;
117 run.disable_zig_progress = true; // can interfere with fd count assumptions
117118 run.expectStdErrEqual("");
118119 run.expectStdOutEqual("");
119120 run.expectExitCode(0);