Problem: tests: test_wayland.vim fails when X11 is not available or
$XDG_RUNTIME_DIR is not defined
Solution: Skip test_wayland when prerequisites are not fulfilled
closes: #19579
Signed-off-by: Christian Brabandt <cb@256bit.org>
CheckFeature job
CheckWaylandCompositor
CheckNotGui
+CheckEnv XDG_RUNTIME_DIR
if !executable('wl-paste') || !executable('wl-copy')
throw "Skipped: wl-clipboard is not available"
func s:CheckClientserver()
CheckFeature clientserver
+ if has('x11')
+ CheckEnv DISPLAY
+ endif
+
if has('socketserver') && !has('x11')
if v:servername == ""
call remote_startserver('VIMSOCKETSERVER')
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 117,
/**/
116,
/**/