gimp/build
Niels De Graef 0352559efa meson: Allow running tests headless
This commit makes sure we can properly run the tests in a headless
environment, i.e. they don't mess with the user's X display or their
session bus. The latter is also needed for parallel tests as they fail
to simultaneously own the same name on the session bus.

Replaced the "xvfb-run" meson option with the "headless" option, which
is more intuitive (and also more correct, since we now also require
`dbus-run-session` to run the tests, not only `xvfb-run`).

Finally, note that we need a version of `xvfb-run` that supports the
`-d` (`--auto-display`) option. The problem with `--auto-servernum`
which is also regularly used, is that it doesn't shut down cleanly,
returning a non-zero exit code, wich makes the test fail.

Fixes https://gitlab.gnome.org/GNOME/gimp/-/issues/5078
2020-05-14 18:31:08 +02:00
..
buildbot build: Update buildbot/suppressed-warnings.txt, warning was fixed 2011-02-09 23:48:32 +01:00
docker/gimpbuilder-base build: skip Recommends for docker image 2017-09-05 22:37:49 +02:00
flatpak build: sync development flatpak manifest with stable one. 2020-04-04 01:10:55 +02:00
meson meson: Allow running tests headless 2020-05-14 18:31:08 +02:00
windows build: fix cross-compiled meson builds. 2020-05-10 13:21:08 +02:00
.gitignore Get rid of DOS line endings 2010-11-21 16:09:09 +01:00
Makefile.am Get rid of DOS line endings 2010-11-21 16:09:09 +01:00