| 1 |
subdir('parser') |
| 2 |
subdir('nodes') |
| 3 |
subdir('style') |
| 4 |
|
| 5 |
testexecdir = join_paths(installed_test_bindir, 'css') |
| 6 |
testdatadir = join_paths(installed_test_datadir, 'css') |
| 7 |
|
| 8 |
test_api = executable('api', 'api.c', |
| 9 |
dependencies: libgtk_dep, |
| 10 |
install: get_option('installed_tests'), |
| 11 |
install_dir: testexecdir) |
| 12 |
test('css/api', test_api) |
| 13 |
|
| 14 |
if get_option('installed_tests') |
| 15 |
conf = configuration_data() |
| 16 |
conf.set('libexecdir', gtk_libexecdir) |
| 17 |
configure_file(input: 'api.test.in', |
| 18 |
output: 'api.test', |
| 19 |
configuration: conf, |
| 20 |
install_dir: testdatadir) |
| 21 |
endif |