]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Enable check_get_connection_unix_process_id test on Windows with CMake
authorRalf Habacker <ralf.habacker@freenet.de>
Thu, 29 Nov 2018 22:50:03 +0000 (23:50 +0100)
committerSimon McVittie <smcv@collabora.com>
Mon, 3 Dec 2018 11:31:22 +0000 (11:31 +0000)
This check is now possible because with merge request
 https://gitlab.freedesktop.org/dbus/dbus/merge_requests/55
the prerequisites are valid.

It was already run if built with Autotools, because DBUS_WIN_FIXME
was only defined in the CMake build system.

[smcv: Add more context regarding Autotools vs. CMake]
Signed-off-by: Simon McVittie <smcv@collabora.com>
bus/dispatch.c

index 16b6782f58756563b92c674686d5997890e7accc..1373ed70f6dcceef74c115372d8ae2cd09795dd6 100644 (file)
@@ -4871,12 +4871,8 @@ bus_dispatch_test_conf (const DBusString *test_data_dir,
   if (!check_get_connection_unix_user (context, baz))
     _dbus_test_fatal ("GetConnectionUnixUser message failed");
 
-#ifdef DBUS_WIN_FIXME
-  _dbus_verbose("TODO: testing of GetConnectionUnixProcessID message skipped for now\n");
-#else
   if (!check_get_connection_unix_process_id (context, baz))
     _dbus_test_fatal ("GetConnectionUnixProcessID message failed");
-#endif
 
   if (!check_list_services (context, baz))
     _dbus_test_fatal ("ListActivatableNames message failed");