Bug 25816

Summary: test-handles fails if no session bus is available
Product: Telepathy Reporter: Will Thompson <will>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: olivier.crete
Version: unspecified   
Hardware: Other   
OS: All   
URL: https://bugs.gentoo.org/show_bug.cgi?id=298601
Whiteboard:
i915 platform: i915 features:

Description Will Thompson 2009-12-28 15:50:03 UTC
From the log on Gentoo bug #298601:

tp-glib-ERROR **: Unable to connect to starter bus
aborting...
/bin/sh: line 5: 29978 Aborted                 G_DEBUG=fatal-warnings,fatal-criticals ${dir}$tst
FAIL: test-handles

This is because test-handles instantiates a TpDynamicHandleRepo, which makes a connection to the bus.
Comment 1 Will Thompson 2009-12-28 16:26:04 UTC
Took a quick look at fixing this up so that the (non-twisted) tests run under with-session-bus.sh. Got into a mess of recursive make dependencies trying to move some of tests/twisted/tools into tests/tools to do that. Should be trivial for someone less sleepy. :)
Comment 2 Will Thompson 2010-04-08 07:41:45 UTC
Fixed by http://git.collabora.co.uk/?p=telepathy-gabble.git;a=commitdiff;h=b52457c which will be in Gabble 0.9.10.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.