Merge branch 'meson-no-lint-tests-if-disabled' into 'main'

Meson: Disable lint+no-valgrind tests when tests option is set to false

See merge request GNOME/glib!4522
This commit is contained in:
Philip Withnall 2025-02-26 12:34:44 +00:00
commit 22c1762dff

View File

@ -2682,7 +2682,9 @@ subdir('gmodule')
subdir('gio')
subdir('girepository')
subdir('fuzzing')
subdir('tests')
if get_option('tests')
subdir('tests')
endif
# xgettext is optional (on Windows for instance)
if find_program('xgettext', required : get_option('nls')).found()