Dylan Aïssi pushed to branch debian-unstable at X Strike Force / wayland / weston
Commits: e46bd4b4 by Dylan Aïssi at 2024-02-15T22:52:07+01:00 Use build time tests as autopkgtest until upstream tests can be installed See https://gitlab.freedesktop.org/wayland/weston/-/issues/368 Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 4 changed files: - + debian/patches/Skip_xwayland_test.patch - + debian/patches/series - debian/rules - + debian/tests/control Changes: ===================================== debian/patches/Skip_xwayland_test.patch ===================================== @@ -0,0 +1,20 @@ +Description: Skip the xwayland test because it doesn't work on Debian at + build time, nor on the autopkgtest infrastructure. It fails with: + > failed to bind to /tmp/.X11-unix/X0: No such file or directory +Author: Dylan Aïssi <[email protected]> + +--- a/tests/xwayland-test.c ++++ b/tests/xwayland-test.c +@@ -51,6 +51,12 @@ + static enum test_result_code + fixture_setup(struct weston_test_harness *harness) + { ++ /* Skip the xwayland test because it doesn't work on Debian at ++ build time, nor on the autopkgtest infrastructure. It fails with: ++ > failed to bind to /tmp/.X11-unix/X0: No such file or directory ++ */ ++ return 77; ++ + struct compositor_setup setup; + + unsetenv("DISPLAY"); ===================================== debian/patches/series ===================================== @@ -0,0 +1 @@ +Skip_xwayland_test.patch ===================================== debian/rules ===================================== @@ -8,7 +8,7 @@ override_dh_auto_configure: override_dh_auto_test: mkdir -p $(CURDIR)/debian/tmp/tmp/xdgruntimedir - XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp/tmp/xdgruntimedir dh_auto_test || true + XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp/tmp/xdgruntimedir dh_auto_test override_dh_missing: dh_missing --fail-missing -X.la ===================================== debian/tests/control ===================================== @@ -0,0 +1,5 @@ +# Upstream testsuite is not yet installable, see +# https://gitlab.freedesktop.org/wayland/weston/-/issues/368 +Test-Command: dh_auto_configure; dh_auto_build; dh_auto_test +Depends: @builddeps@ +Restrictions: allow-stderr View it on GitLab: https://salsa.debian.org/xorg-team/wayland/weston/-/commit/e46bd4b496d0947228bd1b260587e558173d8ef5 -- View it on GitLab: https://salsa.debian.org/xorg-team/wayland/weston/-/commit/e46bd4b496d0947228bd1b260587e558173d8ef5 You're receiving this email because of your account on salsa.debian.org.

