mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-19 13:30:02 +00:00
CI: run tests in a single dbus session
Instead of every test spawning their own dbus, make the tests share the same server, just like they share their own compositor. This should speed up things a bit and avoid weird interactions when multiple dbus processes exist.
This commit is contained in:
parent
2d9f28c0ff
commit
504ca9c0c8
@ -15,6 +15,7 @@ export LSAN_OPTIONS=suppressions=$srcdir/lsan.supp:print_suppressions=0:detect_l
|
|||||||
|
|
||||||
case "${setup}" in
|
case "${setup}" in
|
||||||
x11*)
|
x11*)
|
||||||
|
dbus-run-session -- \
|
||||||
xvfb-run -a -s "-screen 0 1024x768x24 -noreset" \
|
xvfb-run -a -s "-screen 0 1024x768x24 -noreset" \
|
||||||
meson test -C ${builddir} \
|
meson test -C ${builddir} \
|
||||||
--quiet \
|
--quiet \
|
||||||
@ -41,6 +42,7 @@ case "${setup}" in
|
|||||||
compositor=$!
|
compositor=$!
|
||||||
export WAYLAND_DISPLAY=wayland-5
|
export WAYLAND_DISPLAY=wayland-5
|
||||||
|
|
||||||
|
dbus-run-session -- \
|
||||||
meson test -C ${builddir} \
|
meson test -C ${builddir} \
|
||||||
--quiet \
|
--quiet \
|
||||||
--timeout-multiplier "${multiplier}" \
|
--timeout-multiplier "${multiplier}" \
|
||||||
@ -65,6 +67,7 @@ case "${setup}" in
|
|||||||
server=$!
|
server=$!
|
||||||
export BROADWAY_DISPLAY=:5
|
export BROADWAY_DISPLAY=:5
|
||||||
|
|
||||||
|
dbus-run-session -- \
|
||||||
meson test -C ${builddir} \
|
meson test -C ${builddir} \
|
||||||
--quiet \
|
--quiet \
|
||||||
--timeout-multiplier "${multiplier}" \
|
--timeout-multiplier "${multiplier}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user