mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 01:15:33 +00:00
27 lines
585 B
Meson
27 lines
585 B
Meson
test_service_files = files(
|
|
'../src/main.cpp',
|
|
'../src/KeymanSystemService.cpp',
|
|
'KeyboardDeviceMock.cpp',
|
|
)
|
|
|
|
deps = [evdev, systemd]
|
|
|
|
test_c_args = [
|
|
'-DKEYMAN_TESTING',
|
|
'-DKeyboardDevice=KeyboardDeviceMock'
|
|
]
|
|
|
|
exe = executable(
|
|
'keyman-test-service',
|
|
sources: [test_service_files],
|
|
c_args: test_c_args,
|
|
cpp_args: test_c_args,
|
|
dependencies: deps,
|
|
include_directories: [ '../src' ]
|
|
)
|
|
|
|
# we currently don't have any unit tests for keyman-system-service.
|
|
# The keyman-test-service we build here gets used by the ibus-keyman
|
|
# integration tests.
|
|
|
|
subdir('services')
|