mirror of
https://github.com/neovim/neovim.git
synced 2024-12-22 12:15:06 -07:00
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:
parent
bddd67a331
commit
3d2cd64744
@ -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"})
|
||||
|
Loading…
Reference in New Issue
Block a user