changeset 30357:2f295612c46a v9.0.0514

patch 9.0.0514: terminal test sometimes hangs Commit: https://github.com/vim/vim/commit/a22c56a59a1e60f6976e61d16001623424a26b3a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 20 15:10:31 2022 +0100 patch 9.0.0514: terminal test sometimes hangs Problem: Terminal test sometimes hangs. Solution: Add a bit more information to the test output. (issue https://github.com/vim/vim/issues/11179)
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Sep 2022 16:15:03 +0200
parents 886ccc911b6b
children 7428a54d9770
files src/testdir/runtest.vim src/version.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -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))
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    514,
+/**/
     513,
 /**/
     512,