Problem: tests: test_compiler fails on Windows without Maven.
Solution: Add Xspotbugs directory to $PATH when mvn is not available
(zeertzjq).
closes: #16576
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
" TEST INTEGRATION WITH A SUPPORTED COMPILER PLUGIN.
if filereadable($VIMRUNTIME .. '/compiler/maven.vim')
+ let save_PATH = $PATH
if !executable('mvn')
if has('win32')
+ let $PATH = 'Xspotbugs;' .. $PATH
" This is what ":help executable()" suggests.
call writefile([], 'Xspotbugs/mvn.cmd')
else
bwipeout
setlocal makeprg=
+ let $PATH = save_PATH
endif
filetype plugin off
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1073,
/**/
1072,
/**/