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
|
|
|
|
2019-11-01 15:20:47 +00:00
|
|
|
# We call diff in various tests, so we need to check it's available,
|
|
|
|
# otherwise we're going to have failures down the line
|
|
|
|
diff = find_program('diff', required: true)
|
|
|
|
|
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),
|
|
|
|
]
|
|
|
|
|
2020-06-28 15:13:59 +00:00
|
|
|
if get_option('debug')
|
|
|
|
common_env += [ 'GDK_DEBUG=default-settings' ]
|
|
|
|
endif
|
|
|
|
|
2020-05-15 13:23:25 +00:00
|
|
|
add_test_setup ('x11',
|
|
|
|
is_default: true,
|
2020-05-15 16:57:49 +00:00
|
|
|
env: common_env + [
|
|
|
|
'GDK_BACKEND=x11',
|
|
|
|
'TEST_OUTPUT_SUBDIR=x11',
|
|
|
|
])
|
2020-05-15 13:23:25 +00:00
|
|
|
|
|
|
|
add_test_setup ('wayland',
|
2020-05-15 16:57:49 +00:00
|
|
|
env: common_env + [
|
|
|
|
'GDK_BACKEND=wayland',
|
|
|
|
'TEST_OUTPUT_SUBDIR=wayland',
|
|
|
|
])
|
2020-05-15 13:23:25 +00:00
|
|
|
|
|
|
|
add_test_setup ('broadway',
|
2020-05-15 16:57:49 +00:00
|
|
|
env: common_env + [
|
|
|
|
'GDK_BACKEND=broadway',
|
|
|
|
'TEST_OUTPUT_SUBDIR=broadway',
|
|
|
|
])
|
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')
|