1 dep_test_client = dependency('libweston-test-10')
2 dep_test_client_runner = dependency('libweston-test-runner-10')
4 # FIXME: extra depends should be actually be added here
6 { 'name': 'agl-client-shell' },
10 t_name = 'test-' + t.get('name')
11 t_sources = t.get('sources', [t.get('name') + '-test.c'])
12 t_sources += [ agl_shell_client_protocol_h, agl_shell_protocol_c,
13 xdg_shell_client_protocol_h, xdg_shell_protocol_c,
14 agl_screenshooter_client_protocol_h,
15 agl_screenshooter_protocol_c ]
17 t_deps = [ dep_test_client, dep_test_client_runner,
18 libweston_dep, dep_libexec_compositor ]
19 t_deps += t.get('dep_objs', [])
26 '-DTHIS_TEST_NAME="' + t_name + '"',
28 build_by_default: true,
29 include_directories: common_inc,
34 test(t.get('name'), t_exe, depends: t.get('test_deps', []))