2017-10-10 04:18:21 +00:00
|
|
|
gtk_libexecdir = join_paths(gtk_prefix, get_option('libexecdir'))
|
|
|
|
installed_test_bindir = join_paths(gtk_libexecdir, 'installed-tests', 'gtk-4.0')
|
|
|
|
installed_test_datadir = join_paths(gtk_datadir, 'installed-tests', 'gtk-4.0')
|
2017-04-30 21:13:47 +00:00
|
|
|
|
2020-05-15 16:57:49 +00:00
|
|
|
common_env = [
|
|
|
|
'GIO_USE_VOLUME_MONITOR=unix',
|
|
|
|
'GSETTINGS_BACKEND=memory',
|
|
|
|
'GTK_CSD=1',
|
|
|
|
'G_ENABLE_DIAGNOSTIC=0',
|
|
|
|
'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir),
|
2021-11-04 00:39:33 +00:00
|
|
|
'GDK_DEBUG=default-settings',
|
2020-05-15 16:57:49 +00:00
|
|
|
]
|
|
|
|
|
2020-08-03 08:14:36 +00:00
|
|
|
if x11_enabled
|
|
|
|
add_test_setup ('x11',
|
|
|
|
env: common_env + [
|
|
|
|
'GDK_BACKEND=x11',
|
|
|
|
'TEST_OUTPUT_SUBDIR=x11',
|
|
|
|
])
|
|
|
|
endif
|
|
|
|
|
|
|
|
if wayland_enabled
|
|
|
|
add_test_setup ('wayland',
|
|
|
|
is_default: true,
|
|
|
|
env: common_env + [
|
|
|
|
'GDK_BACKEND=wayland',
|
|
|
|
'TEST_OUTPUT_SUBDIR=wayland',
|
|
|
|
])
|
|
|
|
|
2021-10-08 16:38:51 +00:00
|
|
|
add_test_setup ('waylandgles',
|
|
|
|
env: common_env + [
|
|
|
|
'GDK_BACKEND=wayland',
|
|
|
|
'TEST_OUTPUT_SUBDIR=waylandgles',
|
2021-11-04 00:39:33 +00:00
|
|
|
'GDK_DEBUG=gl-gles,default-settings',
|
2021-10-08 16:38:51 +00:00
|
|
|
])
|
|
|
|
|
2020-08-03 08:14:36 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if os_win32
|
|
|
|
add_test_setup ('win32',
|
|
|
|
env: common_env + [
|
|
|
|
'GDK_BACKEND=win32',
|
|
|
|
'TEST_OUTPUT_SUBDIR=win32',
|
|
|
|
])
|
|
|
|
endif
|
|
|
|
|
|
|
|
if broadway_enabled
|
|
|
|
add_test_setup ('broadway',
|
|
|
|
env: common_env + [
|
|
|
|
'GDK_BACKEND=broadway',
|
|
|
|
'TEST_OUTPUT_SUBDIR=broadway',
|
|
|
|
])
|
|
|
|
endif
|
2020-05-15 13:23:25 +00:00
|
|
|
|
2020-01-22 05:55:11 +00:00
|
|
|
subdir('performance')
|
2017-10-12 00:33:43 +00:00
|
|
|
subdir('gdk')
|
2017-10-02 04:18:08 +00:00
|
|
|
subdir('gsk')
|
2016-08-21 16:01:14 +00:00
|
|
|
subdir('gtk')
|
|
|
|
subdir('css')
|
2020-07-22 15:31:44 +00:00
|
|
|
subdir('a11y')
|
2017-10-12 00:33:43 +00:00
|
|
|
subdir('tools')
|
2019-03-26 16:35:26 +00:00
|
|
|
subdir('reftests')
|
2021-05-05 00:39:52 +00:00
|
|
|
|
|
|
|
if build_gir
|
|
|
|
subdir('introspection')
|
|
|
|
endif
|