Hi,
I've written package tests for openmsx-catapult. That's a graphical program,
which I'm testing using dogtail. Dogtail needs an X11 environment with
accessibility enabled. To enable accessibility, the systemd session must be set
up correctly. Simply running xvfb-run is not good enough.
While I can't say exactly what is needed, because I haven't managed to make it
work so far, I do know that it doesn't seem to be something that should be
implemented in every package that provides a graphical interface. Instead, I
think it would make sense to have a Restriction in autopkgtest, similar to
needs-root, which ensures that the testbed has a functional graphical
environment, usable for programs such as dogtail.
Thanks,
Bas