mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
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
This commit is contained in:
@@ -139,6 +139,7 @@ foreach test_name, extra_args : gobject_tests
|
||||
input: installed_tests_template_tap,
|
||||
output: test_name + '.test',
|
||||
install_dir: installed_tests_metadir,
|
||||
install_tag: 'tests',
|
||||
configuration: test_conf
|
||||
)
|
||||
endif
|
||||
@@ -147,6 +148,7 @@ foreach test_name, extra_args : gobject_tests
|
||||
c_args : test_cargs + extra_args.get('c_args', []),
|
||||
dependencies : test_deps + extra_args.get('dependencies', []),
|
||||
install_dir: installed_tests_execdir,
|
||||
install_tag: 'tests',
|
||||
install: install,
|
||||
)
|
||||
|
||||
@@ -175,6 +177,7 @@ foreach test_name : python_tests
|
||||
install_data(
|
||||
files(test_name),
|
||||
install_dir: installed_tests_execdir,
|
||||
install_tag: 'tests',
|
||||
install_mode: 'rwxr-xr-x',
|
||||
)
|
||||
|
||||
@@ -186,6 +189,7 @@ foreach test_name : python_tests
|
||||
input: installed_tests_template_tap,
|
||||
output: test_name + '.test',
|
||||
install_dir: installed_tests_metadir,
|
||||
install_tag: 'tests',
|
||||
configuration: test_conf,
|
||||
)
|
||||
endif
|
||||
@@ -196,5 +200,6 @@ if installed_tests_enabled
|
||||
install_data(
|
||||
files('taptestrunner.py'),
|
||||
install_dir: installed_tests_execdir,
|
||||
install_tag: 'tests',
|
||||
)
|
||||
endif
|
||||
|
@@ -26,6 +26,7 @@ foreach test_name, extra_args : gobject_tests
|
||||
input: installed_tests_template,
|
||||
output: test_name + '.test',
|
||||
install_dir: installed_tests_metadir,
|
||||
install_tag: 'tests',
|
||||
configuration: test_conf,
|
||||
)
|
||||
endif
|
||||
@@ -34,6 +35,7 @@ foreach test_name, extra_args : gobject_tests
|
||||
c_args : test_cargs + extra_args.get('c_args', []),
|
||||
dependencies : test_deps + extra_args.get('dependencies', []),
|
||||
install_dir: installed_tests_execdir,
|
||||
install_tag: 'tests',
|
||||
install: install,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user