diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-27 12:44:59 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-03-27 14:04:02 +0000 |
commit | 1e7ce3553b4b96e63935ab064b8e1114fa78cc84 (patch) | |
tree | c6c191bb1928e7f8a78860c6bc8cc9b8ccda7a28 /mesonbuild | |
parent | 826ddec4c6c359c9143881d9e002c80e21f3262a (diff) | |
download | meson-1e7ce3553b4b96e63935ab064b8e1114fa78cc84.zip meson-1e7ce3553b4b96e63935ab064b8e1114fa78cc84.tar.gz meson-1e7ce3553b4b96e63935ab064b8e1114fa78cc84.tar.bz2 |
do not use Executor if only one process was requested
This will make verbose output nicer, since it will not interleave the test
stdout/stderr and the test results.
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/mtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py index 77a0f82..dc82084 100644 --- a/mesonbuild/mtest.py +++ b/mesonbuild/mtest.py @@ -893,7 +893,7 @@ Timeout: %4d visible_name = self.get_pretty_suite(test) single_test = self.get_test_runner(test) - if not test.is_parallel or single_test.options.gdb: + if not test.is_parallel or self.options.num_processes == 1 or single_test.options.gdb: self.drain_futures(futures) futures = [] res = single_test.run() |