changeset 20309:cae01dabd78e v8.2.0710

patch 8.2.0710: Netbeans test sometimes fails Commit: https://github.com/vim/vim/commit/4a070cc82e00618db279526797564cb2b4e9b060 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 7 18:16:35 2020 +0200 patch 8.2.0710: Netbeans test sometimes fails Problem: Netbeans test sometimes fails. Solution: Mark any test using an external command as flaky.
author Bram Moolenaar <Bram@vim.org>
date Thu, 07 May 2020 18:30:03 +0200
parents 49fa1e49d5f5
children fb099a566102
files src/testdir/shared.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/shared.vim
+++ b/src/testdir/shared.vim
@@ -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"})
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    710,
+/**/
     709,
 /**/
     708,