[gtk/wip/otte/x11-testsuite: 2/2] CI: Use mutter for the x11-full testsuite run
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/x11-testsuite: 2/2] CI: Use mutter for the x11-full testsuite run
- Date: Sat, 21 May 2022 19:12:48 +0000 (UTC)
commit 68161f022e1a333f327ac173a79a94966fea9e8b
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]