diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index de08f32d270..c6d9ad05bc9 100644 --- a/Lib/test/libregrtest/main.py +++ b/Lib/test/libregrtest/main.py @@ -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() diff --git a/Lib/test/libregrtest/runtest_mp.py b/Lib/test/libregrtest/runtest_mp.py index e51b10015f3..96db196f533 100644 --- a/Lib/test/libregrtest/runtest_mp.py +++ b/Lib/test/libregrtest/runtest_mp.py @@ -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()