fix(test): check for SIGINT between tests

when running `zig build functionaltest`, it might
take a while until the test harness nvim instance checks
for interrupts, which causes a lot of tests to keep running after
CTRL+C. Check after each test instead
This commit is contained in:
bfredl
2026-05-29 11:34:06 +02:00
parent aceb0627c8
commit 3f67dabcc7

View File

@@ -1034,6 +1034,8 @@ local function run_test(test, reporter, summary, file_summary)
end
end
end
-- check for interrupts
vim.wait(0)
end
test.duration = now_seconds() - start_time