diff options
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build index b5ca084..4ae8e7d 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -76,4 +76,28 @@ if get_option('tests') env: [envs, 'XDG_CURRENT_DESKTOP=KDE'], ) endif + + if get_option('config-osx') and with_platform_darwin + config_osx_test = executable('test-config-osx', + ['config-osx-test.c', 'px-manager-helper.c'], + include_directories: px_backend_inc, + dependencies: [glib_dep, px_backend_dep], + ) + test('Config OSX test', + config_osx_test, + env: [envs], + ) + endif + + if get_option('config-windows') and with_platform_windows + config_windows_test = executable('test-config-windows', + ['config-windows-test.c', 'px-manager-helper.c'], + include_directories: px_backend_inc, + dependencies: [glib_dep, px_backend_dep], + ) + test('Config Windows test', + config_windows_test, + env: [envs], + ) + endif endif |