diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-20 15:10:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-20 15:10:31 +0100 |
commit | a22c56a59a1e60f6976e61d16001623424a26b3a (patch) | |
tree | 94f8b941e8af8a7df21b6d402f18f36f4ba84b61 | |
parent | 9781d9c00517a67c44b50b040cca2c5804daf15c (diff) | |
download | vim-git-a22c56a59a1e60f6976e61d16001623424a26b3a.tar.gz |
patch 9.0.0514: terminal test sometimes hangsv9.0.0514
Problem: Terminal test sometimes hangs.
Solution: Add a bit more information to the test output. (issue #11179)
-rw-r--r-- | src/testdir/runtest.vim | 10 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 12 insertions, 0 deletions
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 @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 514, +/**/ 513, /**/ 512, |