diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-09-22 19:04:23 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-10-21 12:37:45 +0100 |
commit | 27b65f054da59f2ce660af6b1c3ecdc2647c07bd (patch) | |
tree | 500729588265c30769f8ce2856c3fdd61597302a /test/core/test-dbus-glib.c | |
parent | f3538c4210447c572aa82cb2eb0305ef7f70b2b3 (diff) | |
download | dbus-glib-27b65f054da59f2ce660af6b1c3ecdc2647c07bd.tar.gz |
Separate the test for shared-bus equivalence into its own binary
When valgrinding tests it's useful to avoid using the shared bus, which
cannot be closed. Move all the essential shared-bus use into a test which
can be treated specially.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41129
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'test/core/test-dbus-glib.c')
-rw-r--r-- | test/core/test-dbus-glib.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/core/test-dbus-glib.c b/test/core/test-dbus-glib.c index ffc2ae9..1b8c3fc 100644 --- a/test/core/test-dbus-glib.c +++ b/test/core/test-dbus-glib.c @@ -549,11 +549,6 @@ main (int argc, char **argv) if (connection == NULL) lose_gerror ("Failed to open connection to bus", error); - /* should always get the same one */ - g_assert (connection == dbus_g_bus_get (DBUS_BUS_SESSION, NULL)); - g_assert (connection == dbus_g_bus_get (DBUS_BUS_SESSION, NULL)); - g_assert (connection == dbus_g_bus_get (DBUS_BUS_SESSION, NULL)); - /* Create a proxy object for the "bus driver" */ driver = dbus_g_proxy_new_for_name (connection, |