summaryrefslogtreecommitdiff
path: root/tests/meson.build
blob: 1fbb992af63a7cea8e7ba3f2e98d7ae71d75409c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
tests = [
  'testdocument',
  'testrole',
  'testrelation',
  'teststateset',
  'testvalue',
]

foreach t: tests
  bin = executable(t, t + '.c',
                   dependencies: libatk_dep,
                   include_directories: root_inc,
                   c_args: common_cflags + [
                     '-DG_DISABLE_DEPRECATED',
                   ])
  test(t, bin, env: [
    'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
    'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
  ])
endforeach