regrtest: log timeout at startup (GH-19514)

Reduce also worker timeout.
This commit is contained in:
Victor Stinner 2020-04-14 18:29:44 +02:00 committed by GitHub
parent 62f75fe3dd
commit 4cf65a630a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 4 deletions

View file

@ -394,7 +394,10 @@ class Regrtest:
save_modules = sys.modules.keys()
self.log("Run tests sequentially")
msg = "Run tests sequentially"
if self.ns.timeout:
msg += " (timeout: %s)" % format_duration(self.ns.timeout)
self.log(msg)
previous_test = None
for test_index, test_name in enumerate(self.tests, 1):