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.
This commit is contained in:
Benjamin Otte
2022-05-05 23:38:11 +02:00
parent 0e95145a23
commit 68161f022e

View File

@@ -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