diff options
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/backend/backends.py | 2 | ||||
-rw-r--r-- | mesonbuild/interpreter/interpreter.py | 4 | ||||
-rw-r--r-- | mesonbuild/interpreter/interpreterobjects.py | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 8729c8e..bc4a02c 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -1150,7 +1150,7 @@ class Backend: isinstance(exe, build.Executable), [x.get_id() for x in depends], self.environment.coredata.version, - False) + t.verbose) arr.append(ts) return arr diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 7681834..c83d09e 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -215,6 +215,7 @@ TEST_KWARGS: T.List[KwargInfo] = [ ENV_KW, DEPENDS_KW.evolve(since='0.46.0'), KwargInfo('suite', ContainerTypeInfo(list, str), listify=True, default=['']), # yes, a list of empty string + KwargInfo('verbose', bool, default=False, since='0.62.0'), ] permitted_dependency_kwargs = { @@ -1972,7 +1973,8 @@ external dependencies (including libraries) must go to "dependencies".''') kwargs['timeout'], kwargs['workdir'], kwargs['protocol'], - kwargs['priority']) + kwargs['priority'], + kwargs['verbose']) def add_test(self, node: mparser.BaseNode, args: T.List, kwargs: T.Dict[str, T.Any], is_base_test: bool): t = self.make_test(node, args, kwargs) diff --git a/mesonbuild/interpreter/interpreterobjects.py b/mesonbuild/interpreter/interpreterobjects.py index 2656f14..9c2481c 100644 --- a/mesonbuild/interpreter/interpreterobjects.py +++ b/mesonbuild/interpreter/interpreterobjects.py @@ -636,7 +636,7 @@ class Test(MesonInterpreterObject): cmd_args: T.List[T.Union[str, mesonlib.File, build.Target]], env: build.EnvironmentVariables, should_fail: bool, timeout: int, workdir: T.Optional[str], protocol: str, - priority: int): + priority: int, verbose: bool): super().__init__() self.name = name self.suite = listify(suite) @@ -651,6 +651,7 @@ class Test(MesonInterpreterObject): self.workdir = workdir self.protocol = TestProtocol.from_str(protocol) self.priority = priority + self.verbose = verbose def get_exe(self) -> T.Union[ExternalProgram, build.Executable, build.CustomTarget]: return self.exe |