mirror of
https://github.com/neovim/neovim.git
synced 2026-03-30 20:32:08 +00:00
vim-patch:9.1.1908: tests: test_crash.vim times out in CI ASAN builds
Problem: tests: test_crash.vim times out in CI ASAN builds
Solution: Increase timeout for ASAN or Valgrind runs
closes: vim/vim#18725
89f0a3a574
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -7,7 +7,12 @@ CheckScreendump
|
||||
" Run the command in terminal and wait for it to complete via notification
|
||||
func s:RunCommandAndWait(buf, cmd)
|
||||
call term_sendkeys(a:buf, a:cmd .. "; printf '" .. TermNotifyParentCmd(v:false) .. "'\<cr>")
|
||||
call WaitForChildNotification()
|
||||
if ValgrindOrAsan()
|
||||
" test times out on ASAN CI builds
|
||||
call WaitForChildNotification(10000)
|
||||
else
|
||||
call WaitForChildNotification()
|
||||
endif
|
||||
endfunc
|
||||
|
||||
func Test_crash1()
|
||||
|
||||
Reference in New Issue
Block a user