mirror of
https://github.com/neovim/neovim.git
synced 2026-06-15 16:23:48 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user