From: Bram Moolenaar Date: Tue, 20 Sep 2022 14:10:31 +0000 (+0100) Subject: patch 9.0.0514: terminal test sometimes hangs X-Git-Tag: v9.0.0514 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a22c56a59a1e60f6976e61d16001623424a26b3a;p=vim patch 9.0.0514: terminal test sometimes hangs Problem: Terminal test sometimes hangs. Solution: Add a bit more information to the test output. (issue #11179) --- diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 1946282f8..ebc692b47 100644 --- 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 index 129f7ce9c..74253e377 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 514, /**/ 513, /**/