changeset 31351:a207f55deb62 v9.0.1009

patch 9.0.1009: test for catch after interrupt is flaky on MS-Windows Commit: https://github.com/vim/vim/commit/72b5b0d51aa9ddf8d338a5a133a667a3c2392ae1 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 5 15:24:20 2022 +0000 patch 9.0.1009: test for catch after interrupt is flaky on MS-Windows Problem: Test for catch after interrupt is flaky on MS-Windows. Solution: Mark the test as flaky.
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 16:30:04 +0100
parents 0f05b4340c6a
children 8685c826da45
files src/testdir/test_vimscript.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_vimscript.vim
+++ b/src/testdir/test_vimscript.vim
@@ -6017,6 +6017,9 @@ endfunc
 
 " interrupt right before a catch is invoked inside a function.
 func Test_ignore_catch_after_intr_2()
+  " for unknown reasons this test sometimes fails on MS-Windows.
+  let g:test_is_flaky = 1
+
   XpathINIT
   func F()
     try
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1009,
+/**/
     1008,
 /**/
     1007,