forked from aniani/vim
patch 8.2.5099: some terminal tests are not retried
Problem: Some terminal tests are not retried. Solution: Mark terminal tests as flaky.
This commit is contained in:
@@ -757,6 +757,7 @@ func Test_terminal_write_stdin()
|
|||||||
" TODO: enable once writing to stdin works on MS-Windows
|
" TODO: enable once writing to stdin works on MS-Windows
|
||||||
CheckNotMSWindows
|
CheckNotMSWindows
|
||||||
CheckExecutable wc
|
CheckExecutable wc
|
||||||
|
let g:test_is_flaky = 1
|
||||||
|
|
||||||
call setline(1, ['one', 'two', 'three'])
|
call setline(1, ['one', 'two', 'three'])
|
||||||
%term wc
|
%term wc
|
||||||
@@ -775,6 +776,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_terminal_eof_arg()
|
func Test_terminal_eof_arg()
|
||||||
call CheckPython(s:python)
|
call CheckPython(s:python)
|
||||||
|
let g:test_is_flaky = 1
|
||||||
|
|
||||||
call setline(1, ['print("hello")'])
|
call setline(1, ['print("hello")'])
|
||||||
exe '1term ++eof=exit(123) ' .. s:python
|
exe '1term ++eof=exit(123) ' .. s:python
|
||||||
@@ -793,6 +795,7 @@ endfunc
|
|||||||
func Test_terminal_eof_arg_win32_ctrl_z()
|
func Test_terminal_eof_arg_win32_ctrl_z()
|
||||||
CheckMSWindows
|
CheckMSWindows
|
||||||
call CheckPython(s:python)
|
call CheckPython(s:python)
|
||||||
|
let g:test_is_flaky = 1
|
||||||
|
|
||||||
call setline(1, ['print("hello")'])
|
call setline(1, ['print("hello")'])
|
||||||
exe '1term ++eof=<C-Z> ' .. s:python
|
exe '1term ++eof=<C-Z> ' .. s:python
|
||||||
@@ -803,8 +806,9 @@ endfunc
|
|||||||
|
|
||||||
func Test_terminal_duplicate_eof_arg()
|
func Test_terminal_duplicate_eof_arg()
|
||||||
call CheckPython(s:python)
|
call CheckPython(s:python)
|
||||||
|
let g:test_is_flaky = 1
|
||||||
|
|
||||||
" Check the last specified ++eof arg is used and should not memory leak.
|
" Check the last specified ++eof arg is used and does not leak memory.
|
||||||
new
|
new
|
||||||
call setline(1, ['print("hello")'])
|
call setline(1, ['print("hello")'])
|
||||||
exe '1term ++eof=<C-Z> ++eof=exit(123) ' .. s:python
|
exe '1term ++eof=<C-Z> ++eof=exit(123) ' .. s:python
|
||||||
|
@@ -734,6 +734,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 */
|
||||||
|
/**/
|
||||||
|
5099,
|
||||||
/**/
|
/**/
|
||||||
5098,
|
5098,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user