mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 07:04:29 +00:00
Install css api test again
This commit is contained in:
parent
a2ee124d99
commit
a45e497fdf
@ -2,5 +2,22 @@ subdir('parser')
|
|||||||
subdir('nodes')
|
subdir('nodes')
|
||||||
subdir('style')
|
subdir('style')
|
||||||
|
|
||||||
test_api = executable('api', 'api.c', dependencies: libgtk_dep)
|
gtk_libexecdir = join_paths(gtk_prefix, get_option('libexecdir'))
|
||||||
|
testdatadir = join_paths(gtk_datadir, 'installed-tests/gtk4')
|
||||||
|
testexecdir = join_paths(gtk_libexecdir, 'installed-tests/gtk4/css')
|
||||||
|
|
||||||
|
test_api = executable('api', 'api.c',
|
||||||
|
install: get_option('install-tests'),
|
||||||
|
install_dir: testexecdir,
|
||||||
|
dependencies: libgtk_dep)
|
||||||
test('css/api', test_api)
|
test('css/api', test_api)
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user