Skip to content

Commit feb3aed

Browse files
committed
Workaround: Skip Test_writedelay on GUI test
Since Vim v8.2.2837, Test_VIM_POSIX is added, Test_writedelay fails sometimes. Because, 'writedelay' makes no effect while its GUI window focus is lost, and Test_VIM_POSIX is executed prior to Test_writedelay and opens the own new GUI window so the main window loses focus once.
1 parent 18ebdc9 commit feb3aed

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/testdir/test_options.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,11 @@ func Test_local_scrolloff()
779779
endfunc
780780

781781
func Test_writedelay()
782+
" Workaround for MacVim GUI: This test fails sometimes after Test_VIM_POSIX.
783+
" Because, 'writedelay' makes no effect while its GUI window focus is lost,
784+
" and Test_VIM_POSIX opens the own new GUI window so the main window loses
785+
" focus once.
786+
CheckNotGui
782787
CheckFunction reltimefloat
783788

784789
new

0 commit comments

Comments
 (0)