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
4 changed files:
- + debian/patches/Skip_xwayland_test.patch
- + debian/patches/series
- debian/rules
- + debian/tests/control
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 | + |
|
6 | +--- a/tests/xwayland-test.c
|
|
7 | ++++ b/tests/xwayland-test.c
|
|
8 | +@@ -51,6 +51,12 @@
|
|
9 | + static enum test_result_code
|
|
10 | + fixture_setup(struct weston_test_harness *harness)
|
|
11 | + {
|
|
12 | ++ /* Skip the xwayland test because it doesn't work on Debian at
|
|
13 | ++ build time, nor on the autopkgtest infrastructure. It fails with:
|
|
14 | ++ > failed to bind to /tmp/.X11-unix/X0: No such file or directory
|
|
15 | ++ */
|
|
16 | ++ return 77;
|
|
17 | ++
|
|
18 | + struct compositor_setup setup;
|
|
19 | +
|
|
20 | + unsetenv("DISPLAY"); |
1 | +Skip_xwayland_test.patch |
... | ... | @@ -8,7 +8,7 @@ override_dh_auto_configure: |
8 | 8 | |
9 | 9 | override_dh_auto_test:
|
10 | 10 | mkdir -p $(CURDIR)/debian/tmp/tmp/xdgruntimedir
|
11 | - XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp/tmp/xdgruntimedir dh_auto_test || true
|
|
11 | + XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp/tmp/xdgruntimedir dh_auto_test
|
|
12 | 12 | |
13 | 13 | override_dh_missing:
|
14 | 14 | dh_missing --fail-missing -X.la
|
1 | +# Upstream testsuite is not yet installable, see
|
|
2 | +# https://gitlab.freedesktop.org/wayland/weston/-/issues/368
|
|
3 | +Test-Command: dh_auto_configure; dh_auto_build; dh_auto_test
|
|
4 | +Depends: @builddeps@
|
|
5 | +Restrictions: allow-stderr |