gtk2/testsuite/gdk/meson.build
2017-05-03 15:10:55 +01:00

24 lines
514 B
Meson

tests = [
'cairo',
# 'check-gdk-cairo' # disabled in Makefile.am
'cursor',
'display',
'encoding',
'keysyms',
'rectangle',
'rgba',
'seat',
]
test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
foreach t : tests
test_exe = executable(t, '@0@.c'.format(t), dependencies : libgtk_dep)
test('@0@ test'.format(t), test_exe, suite : 'gdk', env : test_env)
endforeach
# TODO: installed tests + .test files