[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/wayland/weston][debian-unstable] Re-enable xwayland test



Title: GitLab

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
    Re-enable xwayland test
    
    Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>
    

3 changed files:

Changes:

  • debian/patches/Skip_xwayland_test.patch deleted
    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");

  • debian/patches/series deleted
    1
    -Skip_xwayland_test.patch

  • debian/rules
    ... ... @@ -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))
    


  • Reply to: