]> granicus.if.org Git - vim/commitdiff
patch 8.2.0710: Netbeans test sometimes fails v8.2.0710
authorBram Moolenaar <Bram@vim.org>
Thu, 7 May 2020 16:16:35 +0000 (18:16 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 May 2020 16:16:35 +0000 (18:16 +0200)
Problem:    Netbeans test sometimes fails.
Solution:   Mark any test using an external command as flaky.

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

index fda4d03e6b8e77fb5484410683227f4f4f0dc58d..3e0929c34912e45b87cc45ef27e1a756bc67e65f 100644 (file)
@@ -36,6 +36,9 @@ endfunc
 
 " Run "cmd".  Returns the job if using a job.
 func RunCommand(cmd)
+  " Running an external command can occasionally be slow or fail.
+  let g:test_is_flaky = 1
+
   let job = 0
   if has('job')
     let job = job_start(a:cmd, {"stoponexit": "hup"})
index c7fc8ee325bdc020bfa76460530ccae9d8226499..2004f564d14ac0bda95a6f0117ae91c4c0c19157 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    710,
 /**/
     709,
 /**/