dbus/test/name-test
Simon McVittie b2fbffb027 name-test: Backport dbus-run-session wrapper from git master
test-pending-call-disconnected relies on being run under a session bus.
On master, the TESTS in this directory all get that treatment, but
in dbus-1.10 they do not. This caused test-pending-call-disconnected
to fail in minimal environments like travis-ci where there is no
developer-initiated session bus.

Backport part of commit ec6b220 "name-test: run most C tests directly,
not via run-test.sh" to wrap it in dbus-run-session. This is better
than putting it in run-test.sh because this way, its TAP output is
parsed directly by Automake.

It also has the side benefit of exercising dbus-run-session in the
automated tests.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101698
2017-07-06 18:34:48 +01:00
..
.gitignore run-with-tmp-session-bus.sh: create a unique temporary file per process 2013-09-05 12:35:11 +01:00
Makefile.am name-test: Backport dbus-run-session wrapper from git master 2017-07-06 18:34:48 +01:00
run-test-systemserver.sh Run name-test tests under the TAP driver 2015-04-16 13:06:32 +01:00
run-test.sh Revert "name-test: run most C tests directly, not via run-test.sh" 2016-02-12 15:25:12 +00:00
test-activation-forking.py Use pygi instead of pygobject 2 2015-01-27 14:29:59 +00:00
test-autolaunch.c Don't assume that X11 autolaunch will work if DISPLAY is unset 2013-09-13 14:59:17 +01:00
test-ids.c Revert "name-test C tests: produce structured (TAP) output" 2016-02-12 15:25:13 +00:00
test-pending-call-disconnected.c Fix missing dbus_message_unref() in error reply path 2017-06-27 18:20:52 +01:00
test-pending-call-dispatch.c Revert "name-test C tests: produce structured (TAP) output" 2016-02-12 15:25:13 +00:00
test-pending-call-timeout.c Revert "name-test C tests: produce structured (TAP) output" 2016-02-12 15:25:13 +00:00
test-privserver-client.c Revert "name-test C tests: produce structured (TAP) output" 2016-02-12 15:25:13 +00:00
test-privserver.c Revert "name-test C tests: produce structured (TAP) output" 2016-02-12 15:25:13 +00:00
test-shutdown.c Revert "name-test C tests: produce structured (TAP) output" 2016-02-12 15:25:13 +00:00
test-threads-init.c Revert "name-test C tests: produce structured (TAP) output" 2016-02-12 15:25:13 +00:00
test-wait-for-echo.py Use pygi instead of pygobject 2 2015-01-27 14:29:59 +00:00
tmp-session-like-system.conf Clean up and clarify default system policy 2008-12-18 15:34:24 -05:00