uuid not getting generated until after install

Simon McVittie simon.mcvittie at collabora.co.uk
Tue May 13 08:45:42 PDT 2008


On Tue, 13 May 2008 at 17:01:57 +0200, Thiago Macieira wrote:
> The tests should detect that D-Bus is unaccessible and simply abort, telling 
> you to use D-Bus.
> 
> I'm sorry, but you can't run tests that depend on D-Bus running if it is not 
> running. So don't run "make checks" inside your chroot.

For tests in packages that specifically need D-Bus, a nicer approach
seems to be running the tests inside a temporary session bus that is
killed when the tests are over. telepathy-glib contains a script
"with-session-bus.sh" (attached) that can be used for this.

    Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with-session-bus.sh
Type: application/x-sh
Size: 1617 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080513/178661d2/attachment.sh 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080513/178661d2/attachment.pgp 


More information about the dbus mailing list