| 1 |
tests = [ |
| 2 |
'cairo', |
| 3 |
'display', |
| 4 |
'encoding', |
| 5 |
'keysyms', |
| 6 |
'rectangle', |
| 7 |
'rgba', |
| 8 |
'seat', |
| 9 |
'visual', |
| 10 |
] |
| 11 |
|
| 12 |
foreach t : tests |
| 13 |
test_exe = executable(t, '@[email protected]'.format(t), |
| 14 |
dependencies: libgtk_dep, |
| 15 |
install: get_option('installed_tests'), |
| 16 |
install_dir: installed_test_bindir) |
| 17 |
|
| 18 |
test(t, test_exe, |
| 19 |
args: [ '--tap', '-k' ], |
| 20 |
env: [ 'GIO_USE_VOLUME_MONITOR=unix', |
| 21 |
'GSETTINGS_BACKEND=memory', |
| 22 |
'GTK_CSD=1', |
| 23 |
'G_ENABLE_DIAGNOSTIC=0', |
| 24 |
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()), |
| 25 |
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()) |
| 26 |
], |
| 27 |
suite: 'gdk') |
| 28 |
endforeach |