Cannot run test suite without a session DBus
If I run the test suite on a builder without dbus and friends running:
[0/1] Running all tests.
1/2 droute-test FAIL 0.39 s (killed by signal 6 SIGABRT)
2/2 atk-test FAIL 0.38 s (killed by signal 5 SIGTRAP)
Ok: 0
Expected Fail: 0
Fail: 2
Unexpected Pass: 0
Skipped: 0
Timeout: 0
The output from the failed tests:
1/2 droute-test FAIL 0.39 s (killed by signal 6 SIGABRT)
--- command ---
08:58:02 /home/ross/Programming/UPSTREAMS/at-spi2-atk/build/droute/droute-test
--- stderr ---
dbus[487]: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 6080.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
-------
2/2 atk-test FAIL 0.38 s (killed by signal 5 SIGTRAP)
--- command ---
08:58:02 /home/ross/Programming/UPSTREAMS/at-spi2-atk/build/tests/atk-test
--- stdout ---
# random seed: R02S118f134cadd9832fb43fa8223e32a0fc
1..158
# Start of Accessible tests
Bail out! dbind-FATAL-ERROR: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?
--- stderr ---
run_app: /home/ross/Programming/UPSTREAMS/at-spi2-atk/tests/data/test-accessible.xml
child_pid 489
(atk-test:488): dbind-ERROR **: 08:58:02.878: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?
-------
Worst case the test suite should SKIP
if the environment isn't correct, but ideally the runner should construct a session bus for the test suite.