From 3f67dabcc7abc3b9027eaab0def6800f2bfcd391 Mon Sep 17 00:00:00 2001 From: bfredl Date: Fri, 29 May 2026 11:34:06 +0200 Subject: [PATCH] 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 --- test/harness.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/harness.lua b/test/harness.lua index f60fb625ac..7d86d4694f 100644 --- a/test/harness.lua +++ b/test/harness.lua @@ -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