From ad02d463ba4b83089b298006af412244ae86c05b Mon Sep 17 00:00:00 2001 From: christophecvr Date: Mon, 23 Sep 2024 09:03:34 +0200 Subject: [PATCH] The check argument run com should be true "https://github.com/mesonbuild/meson/issues/9300" --- mesonbuild/interpreter/interpreterobjects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesonbuild/interpreter/interpreterobjects.py b/mesonbuild/interpreter/interpreterobjects.py index bc0d7e7695ab..b59f5cd29b45 100644 --- a/mesonbuild/interpreter/interpreterobjects.py +++ b/mesonbuild/interpreter/interpreterobjects.py @@ -213,7 +213,7 @@ def __init__(self, subdir: str, mesonintrospect: T.List[str], in_builddir: bool = False, - check: bool = False, + check: bool = True, capture: bool = True) -> None: super().__init__() if not isinstance(cmd, ExternalProgram): @@ -234,7 +234,7 @@ def run_command(self, subdir: str, mesonintrospect: T.List[str], in_builddir: bool, - check: bool = False) -> T.Tuple[int, str, str]: + check: bool = True) -> T.Tuple[int, str, str]: command_array = cmd.get_command() + args menv = {'MESON_SOURCE_ROOT': source_dir, 'MESON_BUILD_ROOT': build_dir,