[gtk/wip/otte/x11-testsuite: 106/106] CI: Use mutter for the x11-full testsuite run




commit 4ff837bc9e82d6c88009fa0bf1a35b1371c7a708
Author: Benjamin Otte <otte redhat com>
Date:   Thu May 5 23:38:11 2022 +0200

    CI: Use mutter for the x11-full testsuite run
    
    This spawns a mutter WM for the xvfb instance and wraps it in its own
    dbus session.
    
    Also use a larger screen size (1080p) - mostly so we can check the
    testuite runs with differently sized screens, but alspo because that's
    today's default screen size.
    
    This exposes the issue from #4136 in the testsuite.

 .gitlab-ci/run-tests.sh | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index 61559ebb7e..d0767fc7a2 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -13,13 +13,15 @@ export G_SLICE=always-malloc
 
 case "${backend}" in
   x11full)
-    xvfb-run -a -s "-screen 0 1024x768x24 -noreset" \
-          meson test -C ${builddir} \
-                --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \
-                --print-errorlogs \
-                --setup=${backend} \
-                --suite=gtk \
-                --no-suite=gsk-compare-broadway
+    xvfb-run -a -s "-screen 0 1920x1080x24 -noreset" \
+          dbus-run-session \
+              mutter --x11 -- \
+                  meson test -C ${builddir} \
+                        --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \
+                        --print-errorlogs \
+                        --setup=${backend} \
+                        --suite=gtk \
+                        --no-suite=gsk-compare-broadway
 
     # Store the exit code for the CI run, but always
     # generate the reports


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