diff options
-rw-r--r-- | meson.build | 3 | ||||
-rw-r--r-- | tests/meson.build | 18 |
2 files changed, 19 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 0e8b22fc..4c1c135c 100644 --- a/meson.build +++ b/meson.build @@ -79,8 +79,7 @@ subdir('giscanner') subdir('gir') subdir('examples') subdir('docs') -### TODO -### subdir('tests') +subdir('tests') install_data('Makefile.introspection', install_dir: join_paths(get_option('datadir'), 'gobject-introspection-1.0')) install_data('m4/introspection.m4', install_dir: join_paths(get_option('datadir'), 'aclocal')) diff --git a/tests/meson.build b/tests/meson.build new file mode 100644 index 00000000..dcb0fc90 --- /dev/null +++ b/tests/meson.build @@ -0,0 +1,18 @@ +test_regress_sources = files('scanner/regress.c') +test_regress_headers = files('scanner/regress.h') +test_marshalling_sources = files('gimarshallingtests.c') +test_marshalling_headers = files('gimarshallingtests.h') + +test_regress_incdirs = include_directories(['.', 'scanner']) + +installed_sources = [ + 'scanner/regress.c', + 'scanner/regress.h', + 'gimarshallingtests.c', + 'gimarshallingtests.h', + 'gitestmacros.h', +] + +install_data(installed_sources, install_dir: join_paths(get_option('datadir'), 'gobject-introspection-1.0', 'tests')) + +### TODO: actually test |