summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-09-20 11:00:10 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2022-09-20 11:30:02 -0400
commitc00df192ee4a505519a64eb41dfb1374b54abfbb (patch)
tree32a6eebc127282a654b645901bf2cf7c07fe5f77 /gmodule
parentb38d5a991f1d86f5c7d6b00d6f8aecf888b1420b (diff)
downloadglib-c00df192ee4a505519a64eb41dfb1374b54abfbb.tar.gz
meson: Set install_tag on installed tests files
This could be done automatically by Meson, this commit can be reverted when we have that Meson PR in our CI: https://github.com/mesonbuild/meson/pull/10829
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/tests/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/gmodule/tests/meson.build b/gmodule/tests/meson.build
index cc8125eda..d8ad5f758 100644
--- a/gmodule/tests/meson.build
+++ b/gmodule/tests/meson.build
@@ -30,12 +30,14 @@ foreach module : ['moduletestplugin_a', 'moduletestplugin_b']
shared_module(module + '_plugin', 'lib@0@.c'.format(module),
dependencies : [libglib_dep, libgmodule_dep],
install_dir : installed_tests_execdir,
+ install_tag : 'tests',
install : installed_tests_enabled,
name_suffix : module_suffix
)
shared_library(module + '_library', 'lib@0@.c'.format(module),
dependencies : [libglib_dep, libgmodule_dep],
install_dir : installed_tests_execdir,
+ install_tag : 'tests',
install : installed_tests_enabled,
name_suffix : module_suffix
)
@@ -63,6 +65,7 @@ foreach test_name, extra_args : gmodule_tests
input: installed_tests_template_tap,
output: test_name + '.test',
install_dir: installed_tests_metadir,
+ install_tag: 'tests',
configuration: test_conf
)
endif
@@ -73,6 +76,7 @@ foreach test_name, extra_args : gmodule_tests
dependencies : test_deps + extra_args.get('dependencies', []),
export_dynamic : extra_args.get('export_dynamic', false),
install_dir: installed_tests_execdir,
+ install_tag: 'tests',
install: install,
)