]> granicus.if.org Git - vim/commitdiff
patch 9.0.0514: terminal test sometimes hangs v9.0.0514
authorBram Moolenaar <Bram@vim.org>
Tue, 20 Sep 2022 14:10:31 +0000 (15:10 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Sep 2022 14:10:31 +0000 (15:10 +0100)
Problem:    Terminal test sometimes hangs.
Solution:   Add a bit more information to the test output. (issue #11179)

src/testdir/runtest.vim
src/version.c

index 1946282f8a67c88a2568a5db2418f96cb46584b2..ebc692b478d92f90d035cce29be4baa992b0b238 100644 (file)
@@ -227,6 +227,11 @@ func RunTheTest(test)
   endif
   au! VimLeavePre
 
+  if a:test =~ '_terminal_'
+    " Terminal tests sometimes hang, give extra information
+    echoconsole 'After executing ' .. a:test
+  endif
+
   " In case 'insertmode' was set and something went wrong, make sure it is
   " reset to avoid trouble with anything else.
   set noinsertmode
@@ -279,6 +284,11 @@ func RunTheTest(test)
 
   exe 'cd ' . save_cwd
 
+  if a:test =~ '_terminal_'
+    " Terminal tests sometimes hang, give extra information
+    echoconsole 'Finished ' . a:test
+  endif
+
   let message = 'Executed ' . a:test
   if has('reltime')
     let message ..= repeat(' ', 50 - len(message))
index 129f7ce9c4e671c23ece461678d56f3ff9a1b8be..74253e37758eb16f2076bca6ba0e83b2fc4a79fa 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    514,
 /**/
     513,
 /**/