GDBus: disable two more GDBus tests using fork()

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen 2011-10-05 10:56:11 -04:00
parent 2b963266b6
commit af55ff5a2b

View File

@ -441,6 +441,7 @@ test_bogus_method_return (GDBusProxy *proxy)
g_assert (result == NULL); g_assert (result == NULL);
} }
#if 0 /* Disabled: see https://bugzilla.gnome.org/show_bug.cgi?id=658999 */
static void static void
test_bogus_signal (GDBusProxy *proxy) test_bogus_signal (GDBusProxy *proxy)
{ {
@ -516,6 +517,7 @@ test_bogus_property (GDBusProxy *proxy)
_g_assert_signal_received (proxy, "g-properties-changed"); _g_assert_signal_received (proxy, "g-properties-changed");
g_dbus_proxy_set_interface_info (proxy, old_iface_info); g_dbus_proxy_set_interface_info (proxy, old_iface_info);
} }
#endif /* Disabled: see https://bugzilla.gnome.org/show_bug.cgi?id=658999 */
/* ---------------------------------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------------------------------- */
@ -565,8 +567,10 @@ test_expected_interface (GDBusProxy *proxy)
/* And also where we deliberately set the expected interface definition incorrectly */ /* And also where we deliberately set the expected interface definition incorrectly */
test_bogus_method_return (proxy); test_bogus_method_return (proxy);
/* Disabled: see https://bugzilla.gnome.org/show_bug.cgi?id=658999
test_bogus_signal (proxy); test_bogus_signal (proxy);
test_bogus_property (proxy); test_bogus_property (proxy);
*/
/* Also check that we complain if setting a cached property of the wrong type */ /* Also check that we complain if setting a cached property of the wrong type */
if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDOUT | G_TEST_TRAP_SILENCE_STDERR)) if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDOUT | G_TEST_TRAP_SILENCE_STDERR))