validate:launcher: Print the duration of the test run in the logs

This commit is contained in:
Thibault Saunier 2020-01-15 21:22:49 -03:00
parent 5b82274f17
commit 600c5a27ed

View file

@ -239,6 +239,7 @@ class Test(Loggable):
self.out = open(path, 'w+')
def finalize_logfiles(self):
self.out.write("\n**Duration**: %s" % self.time_taken)
if not self.options.redirect_logs:
self.out.flush()
for logfile in self.extra_logfiles: