mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
Fix test failure on Windows [skip travis]
This commit is contained in:
@@ -202,9 +202,17 @@ endfunc
|
|||||||
func GetVimProg()
|
func GetVimProg()
|
||||||
if empty($NVIM_TEST_ARG0)
|
if empty($NVIM_TEST_ARG0)
|
||||||
" Assume the script was sourced instead of running "make".
|
" Assume the script was sourced instead of running "make".
|
||||||
|
if has('win32')
|
||||||
|
return '..\\..\\..\\build\\bin\\nvim.exe'
|
||||||
|
else
|
||||||
return '../../../build/bin/nvim'
|
return '../../../build/bin/nvim'
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
if has('win32')
|
||||||
|
return substitute($NVIM_TEST_ARG0, '/', '\\', 'g')
|
||||||
|
else
|
||||||
return $NVIM_TEST_ARG0
|
return $NVIM_TEST_ARG0
|
||||||
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Get the command to run Vim, with -u NONE and --headless arguments.
|
" Get the command to run Vim, with -u NONE and --headless arguments.
|
||||||
|
Reference in New Issue
Block a user