]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0540: tests: Test_mswin_event_mouse is flaky v9.2.0540
authorK.Takata <kentkt@csc.jp>
Tue, 26 May 2026 18:46:35 +0000 (18:46 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 26 May 2026 18:46:35 +0000 (18:46 +0000)
Problem:  tests: Test_mswin_event_mouse is flaky
Solution: Mark as flaky (Ken Takata)

Test_mswin_event_mouse is flaky in console:
https://github.com/vim/vim-win32-installer/issues/446#issuecomment-4538212367

closes: #20331

Signed-off-by: K.Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_mswin_event.vim
src/version.c

index 96d1247db6e6faaacfc096719a1709db7c4334fc..101051748e4526d4f3bad898f2fa0e7fb2002b94 100644 (file)
@@ -704,6 +704,10 @@ func Test_mswin_event_mouse()
   CheckMSWindows
   new
 
+  if !has('gui_running')
+    let g:test_is_flaky = 1
+  endif
+
   set mousemodel=extend
   call test_override('no_query_mouse', 1)
   call WaitForResponses()
index 3be49ccbc34820816d09e11912a0b48a1d4b2ea5..bee5c589c03a22651b02d5b6d84801faee5c09fe 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    540,
 /**/
     539,
 /**/