mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-08 09:55:32 +00:00
This change contains various changes and refactorings which together allows the integration tests to pass again. One of the important changs is `DbusTestHelper` which listens to a DBus signal for a sentinel message and then simulates the sentinel key press. Getting this to work also requires processing sd-bus messages which hooks into the glib event loop and is implemented in `EventSource`. Fixes: #13204
18 lines
521 B
Meson
18 lines
521 B
Meson
system_service_dir = meson.global_source_root() / '../keyman-system-service/build' / build_machine.cpu_family() / get_option('buildtype') / 'tests/services'
|
|
|
|
dbus_test_server = executable(
|
|
'km-dbus-test-server',
|
|
'KmDbusTestServer.cpp',
|
|
dependencies: dbus_deps,
|
|
include_directories: ['../..'],
|
|
cpp_args: [
|
|
'-DKEYMAN_TEST_SERVICE_PATH="' + system_service_dir + '"'
|
|
]
|
|
)
|
|
|
|
stop_test_server = executable(
|
|
'stop-test-server',
|
|
'StopTestServer.cpp',
|
|
dependencies: dbus_deps,
|
|
include_directories: ['../..'],
|
|
)
|