From: Ralf Habacker Date: Thu, 8 Mar 2007 08:30:17 +0000 (+0000) Subject: * bus/dispatch.c: disabled segfault test on win32 for now X-Git-Tag: dbus-1.1.0~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e24922e4b59ed6d9a76e71213cdfe9f6f9b1f564;p=thirdparty%2Fdbus.git * bus/dispatch.c: disabled segfault test on win32 for now --- diff --git a/ChangeLog b/ChangeLog index 797824bb4..09e46b249 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-03-08 Ralf Habacker + + * bus/dispatch.c: disabled segfault test on win32 for now + 2007-03-08 Ralf Habacker * configure.in, cmake/ConfigureChecks.cmake: added check diff --git a/bus/dispatch.c b/bus/dispatch.c index 185d7f817..f491ef441 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);