forked from aniani/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)
This commit is contained in:
parent
9781d9c005
commit
a22c56a59a
@ -227,6 +227,11 @@ func RunTheTest(test)
|
|||||||
endif
|
endif
|
||||||
au! VimLeavePre
|
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
|
" In case 'insertmode' was set and something went wrong, make sure it is
|
||||||
" reset to avoid trouble with anything else.
|
" reset to avoid trouble with anything else.
|
||||||
set noinsertmode
|
set noinsertmode
|
||||||
@ -279,6 +284,11 @@ func RunTheTest(test)
|
|||||||
|
|
||||||
exe 'cd ' . save_cwd
|
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
|
let message = 'Executed ' . a:test
|
||||||
if has('reltime')
|
if has('reltime')
|
||||||
let message ..= repeat(' ', 50 - len(message))
|
let message ..= repeat(' ', 50 - len(message))
|
||||||
|
@ -699,6 +699,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
514,
|
||||||
/**/
|
/**/
|
||||||
513,
|
513,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user