aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mtest.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-01-22 10:29:34 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-22 12:18:59 +0100
commit2386f336f18812058f15cc184cf8088cc6032a3c (patch)
tree7d2b14e64c246a3c37e8dd9d16b563450c5d1c02 /mesonbuild/mtest.py
parent52a2f46af16ce040e97110b55dead36ab4d50f0f (diff)
downloadmeson-2386f336f18812058f15cc184cf8088cc6032a3c.zip
meson-2386f336f18812058f15cc184cf8088cc6032a3c.tar.gz
meson-2386f336f18812058f15cc184cf8088cc6032a3c.tar.bz2
mtest: log in verbose mode, but not in gdb mode
This is now possible because all stdout/stderr goes through asyncio pipes. However, logs make little sense in gdb mode.
Diffstat (limited to 'mesonbuild/mtest.py')
-rw-r--r--mesonbuild/mtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py
index d410dba..7c6043e 100644
--- a/mesonbuild/mtest.py
+++ b/mesonbuild/mtest.py
@@ -1578,7 +1578,7 @@ class TestHarness:
l.flush()
def open_logfiles(self) -> None:
- if not self.options.logbase or self.options.verbose:
+ if not self.options.logbase or self.options.gdb:
return
namebase = None