build: Add common settings for tests

We are going to reuse them in the various parts of the test suite.
This commit is contained in:
Emmanuele Bassi 2017-04-30 22:13:47 +01:00
parent 8acf5a8174
commit a54b6be606

View File

@ -1,3 +1,15 @@
installed_test_bindir = join_paths(get_option('libexecdir'), 'installed-tests', 'gtk-4.0')
installed_test_datadir = join_paths(get_option('datadir'), 'installed-tests', 'gtk-4.0')
installed_test_env = [
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
'GIO_USE_VOLUME_MONITOR=unix',
'GSETTINGS_BACKEND=memory',
'GTK_CSD=1',
'G_ENABLE_DIAGNOSTIC=0',
]
subdir('gtk')
subdir('gdk')
subdir('css')