summaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build17
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