Debian Codegraph @

tests/wplua/meson.build

raw
1 common_deps = [wplua_dep, pipewire_dep, wp_dep]
2 common_env = common_test_env
3 common_env.prepend('WIREPLUMBER_DATA_DIR', meson.current_source_dir())
4 common_env.set('G_TEST_SRCDIR', meson.current_source_dir())
5 common_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
6
7 test(
8 'test-wplua',
9 executable('test-wplua', 'wplua.c',
10 dependencies: common_deps),
11 env: common_env,
12 )
13
14 script_tester = executable('script-tester',
15 '..'/'script-tester.c',
16 dependencies: common_deps
17 )
18
19 test(
20 'test-lua-pod',
21 script_tester,
22 args: ['lua-api-tests', 'pod.lua'],
23 env: common_env,
24 )
25 test(
26 'test-lua-json',
27 script_tester,
28 args: ['lua-api-tests', 'json.lua'],
29 env: common_env,
30 )
31 test(
32 'test-lua-json-utils',
33 script_tester,
34 args: ['lua-api-tests', 'json-utils.lua'],
35 env: common_env,
36 )
37 test(
38 'test-lua-monitor-rules',
39 script_tester,
40 args: ['lua-api-tests', 'monitor-rules.lua'],
41 env: common_env,
42 )
43 test(
44 'test-lua-require',
45 script_tester,
46 args: ['lua-api-tests', 'require.lua'],
47 env: common_env,
48 )
49 test(
50 'test-lua-async-activation',
51 script_tester,
52 args: ['lua-api-tests', 'async-activation.lua'],
53 env: common_env,
54 )
55 test(
56 'test-lua-settings',
57 script_tester,
58 args: ['lua-api-tests', 'settings.lua'],
59 env: common_env,
60 )
61 test(
62 'test-lua-event-hooks',
63 script_tester,
64 args: ['lua-api-tests', 'event-hooks.lua'],
65 env: common_env,
66 )
67 test(
68 'test-lua-properties',
69 script_tester,
70 args: ['lua-api-tests', 'properties.lua'],
71 env: common_env,
72 )