1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
tests = [
'testdocument',
'testrole',
'testrelation',
'teststateset',
'testvalue',
]
foreach test_name: tests
test_src = test_name + '.c'
test_bin = executable(test_name, test_src,
dependencies: libatk_dep,
include_directories: root_inc,
c_args: common_cflags + [
'-DG_DISABLE_DEPRECATED',
],
)
test(test_name, test_bin,
env: [
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
],
)
endforeach
|