forked from AuroraMiddleware/gtk
36 lines
1004 B
Meson
36 lines
1004 B
Meson
|
testexecdir = join_paths(installed_test_bindir, 'css', 'change')
|
||
|
testdatadir = join_paths(installed_test_datadir, 'css')
|
||
|
|
||
|
test_change = executable(
|
||
|
'test-css-change',
|
||
|
'test-css-change.c',
|
||
|
dependencies: libgtk_dep,
|
||
|
install: get_option('install-tests'),
|
||
|
install_dir: testexecdir,
|
||
|
)
|
||
|
test('change', test_change,
|
||
|
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')
|
||
|
|
||
|
test_data = [
|
||
|
]
|
||
|
|
||
|
if get_option('install-tests')
|
||
|
conf = configuration_data()
|
||
|
conf.set('libexecdir', gtk_libexecdir)
|
||
|
configure_file(input: 'change.test.in',
|
||
|
output: 'change.test',
|
||
|
configuration: conf,
|
||
|
install_dir: testdatadir)
|
||
|
|
||
|
install_data(test_data, install_dir: testexecdir)
|
||
|
|
||
|
endif
|