mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
31 lines
986 B
Meson
31 lines
986 B
Meson
subdir('parser')
|
|
subdir('nodes')
|
|
subdir('style')
|
|
|
|
testexecdir = join_paths(installed_test_bindir, 'css')
|
|
testdatadir = join_paths(installed_test_datadir, 'css')
|
|
|
|
test_api = executable('api', 'api.c',
|
|
dependencies: libgtk_dep,
|
|
install: get_option('install-tests'),
|
|
install_dir: testexecdir)
|
|
test('api', test_api,
|
|
args: ['--tap', '-k' ],
|
|
env: [ 'GIO_USE_VOLUME_MONITOR=unix',
|
|
'GSETTINGS_BACKEND=memory',
|
|
'GTK_CSD=1',
|
|
'G_ENABLE_DIAGNOSTIC=0',
|
|
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
|
|
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir())
|
|
],
|
|
suite: 'css')
|
|
|
|
if get_option('install-tests')
|
|
conf = configuration_data()
|
|
conf.set('libexecdir', gtk_libexecdir)
|
|
configure_file(input: 'api.test.in',
|
|
output: 'api.test',
|
|
configuration: conf,
|
|
install_dir: testdatadir)
|
|
endif
|