commit a7d2cb704596459b89bb85fb59908d384dd9bba3 (tree)
parent 66da6773ebd5b903c41972c0c81372d10571254d
Author: Andrew Kelley <andrew@ziglang.org>
Date: Wed, 24 Dec 2025 15:11:05 -0800
test-incremental: ignore .swp files
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;