]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1456: shortmess test depends on order of test execution v9.0.1456
authorzeertzjq <zeertzjq@outlook.com>
Sat, 15 Apr 2023 20:28:02 +0000 (21:28 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Apr 2023 20:28:02 +0000 (21:28 +0100)
Problem:    Shortmess test depends on order of test execution.
Solution:   Clear messages. (closes #12264)

src/testdir/test_autocmd.vim
src/version.c

index f2a763add59e302ca6224f0aef924ed2f84bed84..176d2823d65f746990ea26fe7f7cf30c806b87b2 100644 (file)
@@ -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')
index 50773f844421b7efc9f37c0dc7cce7a11ef051dd..35c1eea95a92285700ffae77c56900591631ec97 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1456,
 /**/
     1455,
 /**/