diff options
| author | Hemmo Nieminen <hemmo.nieminen@iki.fi> | 2022-02-01 00:00:00 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-06-09 18:58:33 -0400 |
| commit | 5b0629dc1180cd9500d78db181bf59ff0d4811c5 (patch) | |
| tree | 98941f51f79906519716940f1d79c326d2a817b0 | |
| parent | d6e1b72db0bc09a1af7ad28f883a9133ed4406ff (diff) | |
| download | meson-5b0629dc1180cd9500d78db181bf59ff0d4811c5.tar.gz | |
mtest: print "live" test output when verbose with only 1 test
Since running only one test sort of implies --num-processes=1 the "live"
output of the test should be printed out when --verbose option has been
given and running only a single test.
| -rw-r--r-- | mesonbuild/mtest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py index 31349eabd..b5b131667 100644 --- a/mesonbuild/mtest.py +++ b/mesonbuild/mtest.py @@ -1681,6 +1681,8 @@ class TestHarness: sys.exit(125) self.name_max_len = max(uniwidth(self.get_pretty_suite(test)) for test in tests) + self.options.num_processes = min(self.options.num_processes, + len(tests) * self.options.repeat) startdir = os.getcwd() try: os.chdir(self.options.wd) |
