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:
@@ -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"})
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user