From a7d2cb704596459b89bb85fb59908d384dd9bba3 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 24 Dec 2025 15:11:05 -0800 Subject: [PATCH] test-incremental: ignore .swp files --- test/tests.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tests.zig b/test/tests.zig index 551a26fa83..aa3c018a62 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -2700,6 +2700,7 @@ pub fn addIncrementalTests(b: *std.Build, test_step: *Step, test_filters: []cons var it = try dir.walk(b.graph.arena); while (try it.next(io)) |entry| { if (entry.kind != .file) continue; + if (std.mem.endsWith(u8, entry.basename, ".swp")) continue; for (test_filters) |test_filter| { if (std.mem.indexOf(u8, entry.path, test_filter)) |_| break;