Commit 266c7aaf authored by Denis Bilenko's avatar Denis Bilenko

testrunner.py: print thread pool size

parent 321fe20a
...@@ -25,6 +25,7 @@ def run_many(tests, expected=None, failfast=False): ...@@ -25,6 +25,7 @@ def run_many(tests, expected=None, failfast=False):
passed = {} passed = {}
NWORKERS = min(len(tests), NWORKERS) or 1 NWORKERS = min(len(tests), NWORKERS) or 1
print('thread pool size: %s' % NWORKERS)
pool = ThreadPool(NWORKERS) pool = ThreadPool(NWORKERS)
util.BUFFER_OUTPUT = NWORKERS > 1 util.BUFFER_OUTPUT = NWORKERS > 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment