From 040b05649fc8f1fbf990c86ce12c20ac255dd1ab Mon Sep 17 00:00:00 2001 From: Marvin W Date: Wed, 26 Feb 2025 09:35:38 +0000 Subject: [PATCH] Meson: Disable lint+no-valgrind tests when tests option is set to false --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index af344634f..29df15217 100644 --- a/meson.build +++ b/meson.build @@ -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()