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