mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
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)
a22c56a59a
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
ad06c1c1c6
commit
db12c61c56
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user