Disable a11y for the headless tests
authorMatthias Clasen <mclasen@redhat.com>
Wed, 3 May 2023 12:49:23 +0000 (08:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 4 May 2023 03:27:09 +0000 (23:27 -0400)
Otherwise, we go off activating things and end up
failing to launch systemd.

tests/run-headless-input-tests.sh

index 87b206de34adc1dee25d87c7a4225f370b97564d..fb6c97b54685859760e360d2cf23b779ce1cc1d1 100755 (executable)
@@ -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