mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-26 01:20:05 +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
|
endforeach
|
||||||
endif
|
endif
|
||||||
|
|
||||||
test(
|
if not meson.is_subproject()
|
||||||
'check-missing-install-tag.py',
|
test(
|
||||||
python,
|
'check-missing-install-tag.py',
|
||||||
args : ['-B', files('check-missing-install-tag.py')],
|
python,
|
||||||
env : test_env,
|
args : ['-B', files('check-missing-install-tag.py')],
|
||||||
suite : ['lint', 'no-valgrind'],
|
env : test_env,
|
||||||
protocol : 'tap',
|
suite : ['lint', 'no-valgrind'],
|
||||||
)
|
protocol : 'tap',
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
subdir('lib')
|
subdir('lib')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user