]> granicus.if.org Git - vim/commitdiff
patch 8.0.0400: some tests have a one second delay v8.0.0400
authorBram Moolenaar <Bram@vim.org>
Thu, 2 Mar 2017 21:43:01 +0000 (22:43 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 2 Mar 2017 21:43:01 +0000 (22:43 +0100)
Problem:    Some tests have a one second delay.
Solution:   Add --not-a-term in RunVim().

src/testdir/shared.vim
src/version.c

index 8160af385132fca329858653d6f7ec79a9ebfdde..53f5a2e86612c52f54b7a6661c853d0a8c9ad7eb 100644 (file)
@@ -192,6 +192,7 @@ func RunVimPiped(before, after, arguments, pipecmd)
   if cmd !~ '-u NONE'
     let cmd = cmd . ' -u NONE'
   endif
+  let cmd .= ' --not-a-term'
 
   " With pipecmd we can't set VIMRUNTIME.
   if a:pipecmd != ''
index 5a10b4772a45ffea2b06641f05226519a50b3423..fd4cdb138c69ba101b62f54a55fa0f4dbcb111c8 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    400,
 /**/
     399,
 /**/