summaryrefslogtreecommitdiff
path: root/bus/dispatch.c
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-03-08 08:30:17 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-03-08 08:30:17 +0000
commite24922e4b59ed6d9a76e71213cdfe9f6f9b1f564 (patch)
tree7f7b8e63c69f79a828d52284c76a7292fc65a407 /bus/dispatch.c
parent892780c35e6edc4103858c2df55547c4f07d5c4f (diff)
downloaddbus-e24922e4b59ed6d9a76e71213cdfe9f6f9b1f564.tar.gz
* bus/dispatch.c: disabled segfault test on win32 for now
Diffstat (limited to 'bus/dispatch.c')
-rw-r--r--bus/dispatch.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/bus/dispatch.c b/bus/dispatch.c
index 185d7f81..f491ef44 100644
--- a/bus/dispatch.c
+++ b/bus/dispatch.c
@@ -2611,6 +2611,7 @@ check_existent_service_no_auto_start (BusContext *context,
return retval;
}
+#ifndef DBUS_WIN_FIXME
/* returns TRUE if the correct thing happens,
* but the correct thing may include OOM errors.
*/
@@ -2810,6 +2811,7 @@ check_segfault_service_auto_start (BusContext *context,
return retval;
}
+#endif
#define TEST_ECHO_MESSAGE "Test echo message"
#define TEST_RUN_HELLO_FROM_SELF_MESSAGE "Test sending message to self"
@@ -4068,8 +4070,12 @@ bus_dispatch_test (const DBusString *test_data_dir)
check2_try_iterations (context, foo, "nonexistent_service_no_auto_start",
check_nonexistent_service_no_auto_start);
+#ifdef DBUS_WIN_FIXME
+ _dbus_warn("TODO: dispatch.c segfault_service_no_auto_start test\n");
+#else
check2_try_iterations (context, foo, "segfault_service_no_auto_start",
check_segfault_service_no_auto_start);
+#endif
check2_try_iterations (context, foo, "existent_service_no_auto_start",
check_existent_service_no_auto_start);
@@ -4077,8 +4083,13 @@ bus_dispatch_test (const DBusString *test_data_dir)
check2_try_iterations (context, foo, "nonexistent_service_auto_start",
check_nonexistent_service_auto_start);
+
+#ifdef DBUS_WIN_FIXME
+ _dbus_warn("TODO: dispatch.c segfault_service_auto_start test\n");
+#else
check2_try_iterations (context, foo, "segfault_service_auto_start",
check_segfault_service_auto_start);
+#endif
check2_try_iterations (context, foo, "shell_fail_service_auto_start",
check_shell_fail_service_auto_start);