patch 9.1.1492: tests: failure when Wayland compositor fails to start

Problem:  tests: failure when Wayland compositor fails to start
Solution: instead of throwing an error causing a failure, throw
          "Skipped", so that the Vim test suite continues and does not
          fail

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-06-28 21:03:25 +02:00
parent 3b03b435a2
commit bbeaa94e0e
2 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,7 @@ endfunc
func s:StartCompositorExit(job, status)
if s:wayland_display_name == ""
throw "Error: Wayland compositor exited when starting up"
throw "Skipped: Error: Wayland compositor exited when starting up"
endif
endfunc

View File

@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1492,
/**/
1491,
/**/