mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.1.1282: Build and test failure without job feature
Problem: Build and test failure without job feature (lazypingu) Solution: Adjust ifdefs, add CheckFeature job to tests fixes: #17053 closes: #17059 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
221927b2bf
commit
c54a8eb258
@ -1015,12 +1015,6 @@
|
|||||||
* +tgetent
|
* +tgetent
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* The Netbeans feature requires +eval.
|
|
||||||
*/
|
|
||||||
#if !defined(FEAT_EVAL) && defined(FEAT_NETBEANS_INTG)
|
|
||||||
# undef FEAT_NETBEANS_INTG
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The +channel feature requires +eval.
|
* The +channel feature requires +eval.
|
||||||
@ -1029,6 +1023,13 @@
|
|||||||
# undef FEAT_JOB_CHANNEL
|
# undef FEAT_JOB_CHANNEL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The Netbeans feature requires +eval and +job_channel
|
||||||
|
*/
|
||||||
|
#if (!defined(FEAT_EVAL) || !defined(FEAT_JOB_CHANNEL)) && defined(FEAT_NETBEANS_INTG)
|
||||||
|
# undef FEAT_NETBEANS_INTG
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* +terminal ":terminal" command. Runs a terminal in a window.
|
* +terminal ":terminal" command. Runs a terminal in a window.
|
||||||
* requires +channel
|
* requires +channel
|
||||||
|
@ -1648,6 +1648,7 @@ def Test_foldtextresult()
|
|||||||
enddef
|
enddef
|
||||||
|
|
||||||
def Test_foreach()
|
def Test_foreach()
|
||||||
|
CheckFeature job
|
||||||
v9.CheckSourceDefAndScriptFailure(['foreach(test_null_job(), "")'], ['E1013: Argument 1: type mismatch, expected list<any> but got job', 'E1251: List, Tuple, Dictionary, Blob or String required for argument 1'])
|
v9.CheckSourceDefAndScriptFailure(['foreach(test_null_job(), "")'], ['E1013: Argument 1: type mismatch, expected list<any> but got job', 'E1251: List, Tuple, Dictionary, Blob or String required for argument 1'])
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
|
@ -7521,6 +7521,7 @@ endfunc
|
|||||||
|
|
||||||
" Test for 'for' loop failures
|
" Test for 'for' loop failures
|
||||||
func Test_for_loop_failure()
|
func Test_for_loop_failure()
|
||||||
|
CheckFeature job
|
||||||
func ForFn()
|
func ForFn()
|
||||||
for x in test_null_job()
|
for x in test_null_job()
|
||||||
endfor
|
endfor
|
||||||
|
@ -704,6 +704,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 */
|
||||||
|
/**/
|
||||||
|
1282,
|
||||||
/**/
|
/**/
|
||||||
1281,
|
1281,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user