# HG changeset patch # User Bram Moolenaar # Date 1663683303 -7200 # Node ID 2f295612c46ac660a293d490d25368a2fdefb4a3 # Parent 886ccc911b6b8844c19e069653d1ff2d53161419 patch 9.0.0514: terminal test sometimes hangs Commit: https://github.com/vim/vim/commit/a22c56a59a1e60f6976e61d16001623424a26b3a Author: Bram Moolenaar 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) diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim --- 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)) diff --git a/src/version.c b/src/version.c --- 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,