regrtest: mention in tests run sequentially or in parallel

This commit is contained in:
Victor Stinner 2016-03-24 11:55:29 +01:00
parent 5de16e80c1
commit 2b60b7237e
2 changed files with 4 additions and 0 deletions

View File

@ -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()

View File

@ -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()