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:
Christian Brabandt
2025-04-06 16:15:10 +02:00
parent 221927b2bf
commit c54a8eb258
4 changed files with 11 additions and 6 deletions

View File

@ -1015,12 +1015,6 @@
* +tgetent
*/
/*
* The Netbeans feature requires +eval.
*/
#if !defined(FEAT_EVAL) && defined(FEAT_NETBEANS_INTG)
# undef FEAT_NETBEANS_INTG
#endif
/*
* The +channel feature requires +eval.
@ -1029,6 +1023,13 @@
# undef FEAT_JOB_CHANNEL
#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.
* requires +channel