From 2a8e15bc067a02b979bc06006f423a6a700ad36f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 24 May 2026 13:30:40 -0700 Subject: [PATCH] disable passing zig progress pipe to nsz libc test however, this does not actually address the test case that started failing --- test/src/Libc.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/src/Libc.zig b/test/src/Libc.zig index e06651bb55..a7cb01c825 100644 --- 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);