Dylan Aïssi pushed to branch debian-unstable at X Strike Force / wayland / weston
Commits:
-
56c98527
by Dylan Aïssi at 2024-11-06T09:50:25+01:00
3 changed files:
Changes:
| 1 | -Description: Skip the xwayland test because it doesn't work on Debian at
|
|
| 2 | - build time, nor on the autopkgtest infrastructure. It fails with:
|
|
| 3 | - > failed to bind to /tmp/.X11-unix/X0: No such file or directory
|
|
| 4 | -Author: Dylan Aïssi <daissi@debian.org>
|
|
| 5 | -Forwarded: not-needed
|
|
| 6 | - |
|
| 7 | ---- a/tests/xwayland-test.c
|
|
| 8 | -+++ b/tests/xwayland-test.c
|
|
| 9 | -@@ -51,6 +51,12 @@
|
|
| 10 | - static enum test_result_code
|
|
| 11 | - fixture_setup(struct weston_test_harness *harness)
|
|
| 12 | - {
|
|
| 13 | -+ /* Skip the xwayland test because it doesn't work on Debian at
|
|
| 14 | -+ build time, nor on the autopkgtest infrastructure. It fails with:
|
|
| 15 | -+ > failed to bind to /tmp/.X11-unix/X0: No such file or directory
|
|
| 16 | -+ */
|
|
| 17 | -+ return 77;
|
|
| 18 | -+
|
|
| 19 | - struct compositor_setup setup;
|
|
| 20 | -
|
|
| 21 | - unsetenv("DISPLAY"); |
| 1 | -Skip_xwayland_test.patch |
| ... | ... | @@ -17,6 +17,7 @@ override_dh_auto_configure: |
| 17 | 17 | |
| 18 | 18 | override_dh_auto_test:
|
| 19 | 19 | mkdir -p $(CURDIR)/debian/tmp/tmp/xdgruntimedir
|
| 20 | + mkdir -p /tmp/.X11-unix
|
|
| 20 | 21 | # Only make tests fatal for a subset of architectures
|
| 21 | 22 | # https://gitlab.freedesktop.org/wayland/weston/-/issues/739
|
| 22 | 23 | ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 ppc64el))
|