diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 15:05:06 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 15:05:06 +0300 |
| commit | 98f0d51157fa2a2b8ccaae54ed4850a88d223d01 (patch) | |
| tree | 90b03d0930986620d95eb0f45c07b96e1331783c /tests/meson.build | |
| parent | 339e1ad7adb8340732ee856d0f6f0d2c7f1455d1 (diff) | |
Simplify surface state, examples, and library installation
Diffstat (limited to 'tests/meson.build')
| -rw-r--r-- | tests/meson.build | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build index 26bb5cb..951b30e 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -138,6 +138,10 @@ tablet_example_test = executable('yasl-tablet-example-test', 'common/test_tablet test('tablet-example', tablet_example_test) if has_x11 + state_x11_test = executable('yasl-state-x11-test', 'x11/test_state.c', + include_directories: inc, dependencies: yasl_dep, + ) + test('state-x11', state_x11_test) tablet_x11_test = executable('yasl-tablet-x11-test', 'x11/test_tablet.c', include_directories: inc, dependencies: yasl_dep, ) @@ -156,6 +160,10 @@ elif get_option('x11_tablet_tests') endif if has_wayland + state_wayland_test = executable('yasl-state-wayland-test', 'wayland/test_state.c', + include_directories: inc, dependencies: yasl_dep, + ) + test('state-wayland', state_wayland_test) clipboard_wayland_test = executable('yasl-clipboard-wayland-test', 'wayland/test_clipboard.c', include_directories: inc, dependencies: yasl_dep, ) @@ -192,8 +200,12 @@ benchmark_exe = executable( benchmark('performance', benchmark_exe) if get_option('integration_tests') + hello_example_test = executable('yasl-hello-example-test', 'common/test_hello_example.c', + dependencies: shared_dep, + ) if has_cocoa - test('hello-cocoa-window', hello_example, + test('hello-cocoa-window', hello_example_test, timeout: 20) + test('interactive-cocoa-window', interactive_example, args: ['--smoke-test'], timeout: 20, ) native_test = executable('yasl-native-test', 'cocoa/test_native.c', @@ -235,7 +247,8 @@ if get_option('integration_tests') xwayland = find_program('Xwayland') test('backends', python, args: [files('helpers/run_backends.py'), weston, xwayland, - backend_test, timer_test, tablet_example, hello_example, input_x11_test], + backend_test, timer_test, tablet_example, hello_example_test, input_x11_test, + interactive_example], timeout: 60, ) endif |
