mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -05:00
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: #18725 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -6,7 +6,12 @@ CheckScreendump
|
|||||||
" Run the command in terminal and wait for it to complete via notification
|
" Run the command in terminal and wait for it to complete via notification
|
||||||
func s:RunCommandAndWait(buf, cmd)
|
func s:RunCommandAndWait(buf, cmd)
|
||||||
call term_sendkeys(a:buf, a:cmd .. "; printf '" .. TermNotifyParentCmd(v:false) .. "'\<cr>")
|
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
|
endfunc
|
||||||
|
|
||||||
func Test_crash1()
|
func Test_crash1()
|
||||||
|
|||||||
@@ -729,6 +729,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1908,
|
||||||
/**/
|
/**/
|
||||||
1907,
|
1907,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user