Merge branch 'installed-tests-fix' into 'main'

tests: Don't install runner scripts without installed_tests

See merge request GNOME/glib!4544
This commit is contained in:
Philip Withnall 2025-03-10 12:39:29 +00:00
commit 09f672e60b

View File

@ -2,14 +2,16 @@
# Copyright 2025 Simon McVittie
# SPDX-License-Identifier: LGPL-2.1-or-later
install_data(
files(
'taptestrunner.py',
'testprogramrunner.py',
),
install_dir: installed_tests_execdir,
install_tag: 'tests',
)
if installed_tests_enabled
install_data(
files(
'taptestrunner.py',
'testprogramrunner.py',
),
install_dir: installed_tests_execdir,
install_tag: 'tests',
)
endif
tests_conf = configuration_data()
tests_conf.set('gir_suffix', gir_suffix)