dbus/test/name-test
Simon McVittie ffa410a040 tests: Don't exercise GetMachineId() or autolaunch if no machine ID
At the moment there is a hack in the implementation of GetMachineId()
to stop tests from failing during "make check" on a system where
dbus has never been installed, by silently generating a new unique
fake "machine ID" for each process. I'm about to change that
behaviour to report errors properly; skip affected test-cases if we
can't read the real machine ID.

The shell scripts to test dbus-launch are run both as "make check"
tests (for which it is valid for dbus to be not correctly installed)
and as installed-tests (for which that is not valid), so make them
pass during "make check" but fail during installed testing.
The tests in bus/ and test/name-test/ are only run during "make check"
so they only have the code path where they are skipped.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=13194
2017-06-08 18:30:39 +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, tools: add missing COVERAGE_CFLAGS 2016-08-15 15:17:31 +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 name-test: run most C tests directly, not via run-test.sh 2016-02-12 15:26:33 +00:00
test-activation-forking.py Use pygi instead of pygobject 2 2015-01-27 14:29:59 +00:00
test-autolaunch.c tests: Don't exercise GetMachineId() or autolaunch if no machine ID 2017-06-08 18:30:39 +01:00
test-ids.c Add missing function attributes suggested by clang (but not by gcc) 2016-10-13 22:44:13 +01:00
test-pending-call-dispatch.c test: Add missing error handling to some name-test tests 2017-02-13 14:53:29 +00:00
test-pending-call-timeout.c test: Add some OOM paths to the test-pending-call-timeout test 2017-02-13 16:03:37 +00:00
test-privserver-client.c Add missing function attributes suggested by clang (but not by gcc) 2016-10-13 22:44:13 +01:00
test-privserver.c test: Add some OOM paths to the test-privserver test 2017-02-13 16:01:56 +00:00
test-shutdown.c Add missing function attributes suggested by clang (but not by gcc) 2016-10-13 22:44:13 +01:00
test-threads-init.c test: Add missing error handling to some name-test tests 2017-02-13 14:53:29 +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 test-bus: don't write to the syslog 2016-08-11 16:41:16 +01:00