changeset 32250:b1ea62e14b3c v9.0.1456

patch 9.0.1456: shortmess test depends on order of test execution Commit: https://github.com/vim/vim/commit/657b31fa3bda2089fef18c30fc706abe5d57e865 Author: zeertzjq <zeertzjq@outlook.com> Date: Sat Apr 15 21:28:02 2023 +0100 patch 9.0.1456: shortmess test depends on order of test execution Problem: Shortmess test depends on order of test execution. Solution: Clear messages. (closes https://github.com/vim/vim/issues/12264)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Apr 2023 22:30:03 +0200
parents 54a392f6a806
children f38307cd47f5
files src/testdir/test_autocmd.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -54,6 +54,9 @@ if has('timers')
   endfunc
 
   func Test_cursorhold_insert()
+    " depends on timing
+    let g:test_is_flaky = 1
+
     " Need to move the cursor.
     call feedkeys("ggG", "xt")
 
@@ -4215,6 +4218,7 @@ func SetupVimTest_shm()
   let g:bwe = []
   let g:brp = []
   set shortmess+=F
+  messages clear
 
   let dirname='XVimTestSHM'
   call mkdir(dirname, 'R')
--- 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 */
 /**/
+    1456,
+/**/
     1455,
 /**/
     1454,