0
0
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:
Christian Brabandt
2025-11-11 18:06:31 +00:00
parent f85951fee0
commit 89f0a3a574
2 changed files with 8 additions and 1 deletions

View File

@@ -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>")
if ValgrindOrAsan()
" test times out on ASAN CI builds
call WaitForChildNotification(10000)
else
call WaitForChildNotification() call WaitForChildNotification()
endif
endfunc endfunc
func Test_crash1() func Test_crash1()

View File

@@ -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,
/**/ /**/