]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1908: tests: test_crash.vim times out in CI ASAN builds v9.1.1908
authorChristian Brabandt <cb@256bit.org>
Tue, 11 Nov 2025 18:06:31 +0000 (18:06 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 11 Nov 2025 18:06:31 +0000 (18:06 +0000)
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>
src/testdir/test_crash.vim
src/version.c

index a26a1b8fd2772785aae6d9175c831f13714b5d95..01ae64fbd0e766155349648f4bfb4a93c6ec24d0 100644 (file)
@@ -6,7 +6,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()
index 5578ccfc627d0815b8215cb69fc763a68c0083b1..1969960673f55dc20e03775e27724b655b05d63f 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1908,
 /**/
     1907,
 /**/