Disable a11y for the headless tests

Otherwise, we go off activating things and end up
failing to launch systemd.
This commit is contained in:
Matthias Clasen
2023-05-03 08:49:23 -04:00
parent 34d8beaf4f
commit 623c93ccc8

View File

@@ -4,14 +4,15 @@ builddir=$(pwd)/build
dbus-run-session sh <<EOF
# echo DBUS_SESSION_BUS_ADDRESS=\$DBUS_SESSION_BUS_ADDRESS
# echo WAYLAND_DISPLAY=gtk-test
#echo DBUS_SESSION_BUS_ADDRESS=\$DBUS_SESSION_BUS_ADDRESS
#echo WAYLAND_DISPLAY=gtk-test
mutter --headless --virtual-monitor 1024x768 --no-x11 --wayland-display gtk-test >&mutter.log &
pid=\$!
export WAYLAND_DISPLAY=gtk-test
export GDK_BACKEND=wayland
export GTK_A11Y=none
#export WAYLAND_DEBUG=1
export GI_TYPELIB_PATH=$builddir/gtk:/usr/lib64/girepository-1.0