Gimp/app/tests
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
..
files app: modified and moved gegl operation testing to operations/tests 2012-06-14 21:30:00 +03:00
gimpdir app: fix tests by using the right value in sessionrc-expected-multi-window 2019-07-23 13:16:23 +02:00
gimpdir-empty app/tests: Distribute test files and test directories 2010-01-08 13:37:25 +01:00
.gitignore app: remove the gimp-2-6 session compatibility test 2018-05-20 20:02:13 +02:00
create_test_env.sh Meson port. 2019-09-11 16:42:04 +02:00
gimp-app-test-utils.c app: gdk_test_simulate_key() Win32 replacement code unneeded on master. 2018-11-24 11:34:51 +01:00
gimp-app-test-utils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-test-session-utils.c app: don't use the deprecated GTimeVal in gimp-test-session-utils.c 2019-10-26 22:33:20 +03:00
gimp-test-session-utils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
Makefile.am Fix reference from gimp_param_spec_duplicate to gimp_config_param_spec_duplicate 2020-01-17 11:17:03 +01:00
manual-testcases.txt Bug 565459 - newly opened images are put into the background 2010-06-23 20:17:44 +02:00
meson.build meson: Allow running tests headless 2020-05-14 18:31:08 +02:00
test-core.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
test-gimpidtable.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
test-save-and-export.c app: make tests build again after file_open_image() signature change 2019-09-12 00:05:17 +02:00
test-session-2-8-compatibility-multi-window.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
test-session-2-8-compatibility-single-window.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
test-single-window-mode.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
test-tools.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
test-ui.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
test-xcf.c app/test-xcf: include necessary headers for close() 2020-05-11 10:52:23 +00:00