aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-01-15 23:36:42 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-01 09:05:26 +0100
commitfc661c35a20a7cc85f76e5e0c502700f42e27cf2 (patch)
tree55fdc3213419420b3fa7c9c2480f6819d377cc6e /mesonbuild/interpreter/interpreter.py
parent3f3439522c66de4620f36f804bdf16c5d0dc9ce1 (diff)
downloadmeson-fc661c35a20a7cc85f76e5e0c502700f42e27cf2.zip
meson-fc661c35a20a7cc85f76e5e0c502700f42e27cf2.tar.gz
meson-fc661c35a20a7cc85f76e5e0c502700f42e27cf2.tar.bz2
interpreter: support for forcibly verbose logging of some tests
Add a new keyword argument to test() and benchmark(), completing the implementation of the feature. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r--mesonbuild/interpreter/interpreter.py4
1 files changed, 3 insertions, 1 deletions
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)