1
0
forked from aniani/vim

patch 8.2.0710: Netbeans test sometimes fails

Problem:    Netbeans test sometimes fails.
Solution:   Mark any test using an external command as flaky.
This commit is contained in:
Bram Moolenaar
2020-05-07 18:16:35 +02:00
parent ea554ca4fa
commit 4a070cc82e
2 changed files with 5 additions and 0 deletions

View File

@@ -36,6 +36,9 @@ endfunc
" Run "cmd". Returns the job if using a job. " Run "cmd". Returns the job if using a job.
func RunCommand(cmd) func RunCommand(cmd)
" Running an external command can occasionally be slow or fail.
let g:test_is_flaky = 1
let job = 0 let job = 0
if has('job') if has('job')
let job = job_start(a:cmd, {"stoponexit": "hup"}) let job = job_start(a:cmd, {"stoponexit": "hup"})

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
710,
/**/ /**/
709, 709,
/**/ /**/