diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-19 10:52:29 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-19 11:29:35 +0800 |
commit | db12c61c56859e58a19c2e7bf9a296dbbc8edf46 (patch) | |
tree | b8e0ddbcecaeed58c4c7d4f148c5d87973227d2f | |
parent | ad06c1c1c63f6fa5b5158f5e89e90468fd92ebba (diff) | |
download | rneovim-db12c61c56859e58a19c2e7bf9a296dbbc8edf46.tar.gz rneovim-db12c61c56859e58a19c2e7bf9a296dbbc8edf46.tar.bz2 rneovim-db12c61c56859e58a19c2e7bf9a296dbbc8edf46.zip |
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 vim/vim#11179)
https://github.com/vim/vim/commit/a22c56a59a1e60f6976e61d16001623424a26b3a
Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r-- | test/old/testdir/runtest.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/old/testdir/runtest.vim b/test/old/testdir/runtest.vim index a17f4bfd08..9d5e3333cb 100644 --- a/test/old/testdir/runtest.vim +++ b/test/old/testdir/runtest.vim @@ -193,6 +193,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 @@ -234,6 +239,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)) |