Commit 2b60b723 authored by Victor Stinner's avatar Victor Stinner

regrtest: mention in tests run sequentially or in parallel

parent 5de16e80
......@@ -305,6 +305,8 @@ class Regrtest:
save_modules = sys.modules.keys()
print("Run tests sequentially")
previous_test = None
for test_index, test in enumerate(self.tests, 1):
start_time = time.monotonic()
......
......@@ -154,6 +154,8 @@ def run_tests_multiprocess(regrtest):
workers = [MultiprocessThread(pending, output, regrtest.ns)
for i in range(regrtest.ns.use_mp)]
print("Run tests in parallel using %s child processes"
% len(workers))
for worker in workers:
worker.start()
......
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