aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-12-24 15:11:05 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-12-26 19:58:56 -0800
commita7d2cb704596459b89bb85fb59908d384dd9bba3 (patch)
tree15c71c1eb021b11793240120a193f28908f70768
parent66da6773ebd5b903c41972c0c81372d10571254d (diff)
downloadzig-a7d2cb704596459b89bb85fb59908d384dd9bba3.tar.gz
zig-a7d2cb704596459b89bb85fb59908d384dd9bba3.zip
test-incremental: ignore .swp files
-rw-r--r--test/tests.zig1
1 files changed, 1 insertions, 0 deletions
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;