mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-12 18:55:12 +01:00
tests: Don't check for missing install_tag if GLib is a subproject
The test script checks the entire Meson build, not just GLib, so it will fail if GLib is a fallback subproject within some larger project that does not use `install_tag` as systematically as GLib does. In particular, if the larger project has a very conservative minimum Meson version (like for example dbus), it might not be possible to add `install_tag` to it. Resolves: https://gitlab.gnome.org/GNOME/glib/-/issues/3625 Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
69462f4921
commit
12171f6fe7
@ -25,13 +25,15 @@ if have_bash
|
||||
endforeach
|
||||
endif
|
||||
|
||||
test(
|
||||
'check-missing-install-tag.py',
|
||||
python,
|
||||
args : ['-B', files('check-missing-install-tag.py')],
|
||||
env : test_env,
|
||||
suite : ['lint', 'no-valgrind'],
|
||||
protocol : 'tap',
|
||||
)
|
||||
if not meson.is_subproject()
|
||||
test(
|
||||
'check-missing-install-tag.py',
|
||||
python,
|
||||
args : ['-B', files('check-missing-install-tag.py')],
|
||||
env : test_env,
|
||||
suite : ['lint', 'no-valgrind'],
|
||||
protocol : 'tap',
|
||||
)
|
||||
endif
|
||||
|
||||
subdir('lib')
|
||||
|
Loading…
x
Reference in New Issue
Block a user