Enable check_get_connection_unix_process_id test on Windows with CMake

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>
This commit is contained in:
Ralf Habacker 2018-11-29 23:50:03 +01:00 committed by Simon McVittie
parent 1b8efd9d44
commit 19bc103e5d

View 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");