diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -2860,7 +2860,8 @@ tests = [self._gettest(d, i) for i, d in enumerate(testdescs)] - jobs = min(len(tests), self.options.jobs) + jobs = min(len(tests) * self.options.runs_per_test, + self.options.jobs) failed = False kws = self.options.keywords