Patch 8.2.5099

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 15, 2022, 12:53:19 PM6/15/22
to vim...@googlegroups.com

Patch 8.2.5099
Problem: Some terminal tests are not retried.
Solution: Mark terminal tests as flaky.
Files: src/testdir/test_terminal.vim


*** ../vim-8.2.5098/src/testdir/test_terminal.vim 2022-06-14 21:22:08.347386925 +0100
--- src/testdir/test_terminal.vim 2022-06-15 17:49:55.480892012 +0100
***************
*** 757,762 ****
--- 757,763 ----
" TODO: enable once writing to stdin works on MS-Windows
CheckNotMSWindows
CheckExecutable wc
+ let g:test_is_flaky = 1

call setline(1, ['one', 'two', 'three'])
%term wc
***************
*** 775,780 ****
--- 776,782 ----

func Test_terminal_eof_arg()
call CheckPython(s:python)
+ let g:test_is_flaky = 1

call setline(1, ['print("hello")'])
exe '1term ++eof=exit(123) ' .. s:python
***************
*** 793,798 ****
--- 795,801 ----
func Test_terminal_eof_arg_win32_ctrl_z()
CheckMSWindows
call CheckPython(s:python)
+ let g:test_is_flaky = 1

call setline(1, ['print("hello")'])
exe '1term ++eof=<C-Z> ' .. s:python
***************
*** 803,810 ****

func Test_terminal_duplicate_eof_arg()
call CheckPython(s:python)

! " Check the last specified ++eof arg is used and should not memory leak.
new
call setline(1, ['print("hello")'])
exe '1term ++eof=<C-Z> ++eof=exit(123) ' .. s:python
--- 806,814 ----

func Test_terminal_duplicate_eof_arg()
call CheckPython(s:python)
+ let g:test_is_flaky = 1

! " Check the last specified ++eof arg is used and does not leak memory.
new
call setline(1, ['print("hello")'])
exe '1term ++eof=<C-Z> ++eof=exit(123) ' .. s:python
*** ../vim-8.2.5098/src/version.c 2022-06-15 16:57:39.978855153 +0100
--- src/version.c 2022-06-15 17:51:48.940983810 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 5099,
/**/

--
[The rest of the ARMY stand around looking at a loss.]
INSPECTOR END OF FILM: (picks up megaphone) All right! Clear off! Go on!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages