]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.2101: CI: test_termdebug may still fail v9.0.2101
authorshane.xb.qian <shane.qian@foxmail.com>
Sun, 12 Nov 2023 08:42:12 +0000 (09:42 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 12 Nov 2023 08:42:12 +0000 (09:42 +0100)
Problem:  CI: test_termdebug may still fail
Solution: use term_wait() to make it more robust

closes: #13529

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_termdebug.vim
src/version.c

index 16de0578039de3bfb87f9f343e6745cd1fa01e4e..5f547c9a3957492848a1408971704e2d5d061035 100644 (file)
@@ -96,6 +96,7 @@ func Test_termdebug_basic()
     bw!
   endif
   set columns=160
+  call term_wait(gdb_buf)
   let winw = winwidth(0)
   Var
   if winwidth(0) < winw
@@ -113,6 +114,7 @@ func Test_termdebug_basic()
     bw!
   endif
   set columns&
+  call term_wait(gdb_buf)
 
   wincmd t
   quit!
index 02d3472e641c7c9627281f96748201f4275a7861..12821542f36f9dad11e00ae6731f9f01a77dcab7 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2101,
 /**/
     2100,
 /**/