patch 9.2.0540: tests: Test_mswin_event_mouse is flaky

Commit: 
https://github.com/vim/vim/commit/c3e975df47adbd1919f7e2df3cf4f23a7c4126ee
Author: K.Takata <[email protected]>
Date:   Tue May 26 18:46:35 2026 +0000

    patch 9.2.0540: tests: Test_mswin_event_mouse is flaky
    
    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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/testdir/test_mswin_event.vim b/src/testdir/test_mswin_event.vim
index 96d1247db..101051748 100644
--- a/src/testdir/test_mswin_event.vim
+++ b/src/testdir/test_mswin_event.vim
@@ -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()
diff --git a/src/version.c b/src/version.c
index 3be49ccbc..bee5c589c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    540,
 /**/
     539,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1wRx0X-007wC0-51%40256bit.org.

Raspunde prin e-mail lui