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

2 views
Skip to first unread message

Christian Brabandt

unread,
Jun 28, 2025, 3:15:13 PM6/28/25
to vim...@googlegroups.com
patch 9.1.1492: tests: failure when Wayland compositor fails to start

Commit: https://github.com/vim/vim/commit/bbeaa94e0e5517063a7a49d6a419ad3d1f5edf38
Author: Christian Brabandt <c...@256bit.org>
Date: Sat Jun 28 21:03:25 2025 +0200

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 <c...@256bit.org>

diff --git a/src/testdir/window_manager.vim b/src/testdir/window_manager.vim
index 39e643eab..36fe34058 100644
--- a/src/testdir/window_manager.vim
+++ b/src/testdir/window_manager.vim
@@ -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

diff --git a/src/version.c b/src/version.c
index 42a345032..e19d10ab8 100644
--- a/src/version.c
+++ b/src/version.c
@@ -719,6 +719,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1492,
/**/
1491,
/**/
Reply all
Reply to author
Forward
0 new messages