diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 00:09:38 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 00:09:38 +0300 |
| commit | 624d1371304a5ae4b3429ad5e4267aac7cd03dfd (patch) | |
| tree | 32de069f6eec83686521fc4bf39cc9874b123e93 /tests/meson.build | |
| parent | e813252e685d761235ad45e170d97c9375f51958 (diff) | |
missing impls and hardening
Diffstat (limited to 'tests/meson.build')
| -rw-r--r-- | tests/meson.build | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build index 950f5f5..1fcac3e 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -12,6 +12,22 @@ add_test_setup('msan') test('basic', test_exe) +contracts_test = executable( + 'yasl-contracts-test', + 'common/test_contracts.c', + include_directories: inc, + dependencies: yasl_dep, +) +test('contracts', contracts_test) + +input_alloc_test = executable( + 'yasl-input-alloc-test', + ['common/test_input_alloc.c', '../src/common/input.c'], + include_directories: inc, + c_args: ['-Dmalloc=yasl_test_malloc'], +) +test('input-allocation-failure', input_alloc_test) + selection_test = executable( 'yasl-selection-test', 'common/test_selection.c', @@ -19,12 +35,24 @@ selection_test = executable( ) test('selection', selection_test) +if has_wayland + ime_test = executable('yasl-ime-test', 'wayland/test_input.c', + include_directories: inc, + dependencies: yasl_dep, + ) + test('ime-ownership', ime_test) +endif + if get_option('integration_tests') if has_cocoa native_test = executable('yasl-native-test', 'cocoa/test_native.c', dependencies: yasl_dep, ) test('native', native_test, timeout: 20) + ownership_test = executable('yasl-ownership-test', 'cocoa/test_ownership.m', + dependencies: yasl_dep, + ) + test('native-ownership', ownership_test, timeout: 20) else if not has_wayland or not has_x11 error('Linux integration tests require Wayland and X11.') |
