mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-08 08:43:05 +02: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,6 +25,7 @@ if have_bash
|
|||||||
endforeach
|
endforeach
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if not meson.is_subproject()
|
||||||
test(
|
test(
|
||||||
'check-missing-install-tag.py',
|
'check-missing-install-tag.py',
|
||||||
python,
|
python,
|
||||||
@ -33,5 +34,6 @@ test(
|
|||||||
suite : ['lint', 'no-valgrind'],
|
suite : ['lint', 'no-valgrind'],
|
||||||
protocol : 'tap',
|
protocol : 'tap',
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
subdir('lib')
|
subdir('lib')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user