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(...@@ -35,7 +35,7 @@ pub fn addLibcTestCase(
35 const arena = graph.arena;35 const arena = graph.arena;
36 const name = arena.dupe(u8, path[0 .. path.len - std.fs.path.extension(path).len]) catch @panic("OOM");36 const name = arena.dupe(u8, path[0 .. path.len - std.fs.path.extension(path).len]) catch @panic("OOM");
37 std.mem.replaceScalar(u8, name, '/', '.');37 std.mem.replaceScalar(u8, name, '/', '.');
38 libc.test_cases.append(libc.b.allocator, .{38 libc.test_cases.append(arena, .{
39 .name = name,39 .name = name,
40 .src_file = libc.libc_test_src_path.path(libc.b, path),40 .src_file = libc.libc_test_src_path.path(libc.b, path),
41 .additional_src_file = if (options.additional_src_file) |additional_src_file| libc.libc_test_src_path.path(libc.b, additional_src_file) else null,41 .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 {...@@ -114,6 +114,7 @@ pub fn addTarget(libc: *const Libc, target: std.Build.ResolvedTarget) void {
114 const run = libc.b.addRunArtifact(exe);114 const run = libc.b.addRunArtifact(exe);
115 run.setName(annotated_case_name);115 run.setName(annotated_case_name);
116 run.skip_foreign_checks = true;116 run.skip_foreign_checks = true;
117 run.disable_zig_progress = true; // can interfere with fd count assumptions
117 run.expectStdErrEqual("");118 run.expectStdErrEqual("");
118 run.expectStdOutEqual("");119 run.expectStdOutEqual("");
119 run.expectExitCode(0);120 run.expectExitCode(0);