vim-patch:8.2.0710: Netbeans test sometimes fails

Problem:    Netbeans test sometimes fails.
Solution:   Mark any test using an external command as flaky.
4a070cc82e
This commit is contained in:
Jan Edmund Lazo 2020-10-13 21:57:21 -04:00
parent bddd67a331
commit 3d2cd64744
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -56,6 +56,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"})