validate:launcher: Print the duration of the test run in the logs
authorThibault Saunier <tsaunier@igalia.com>
Thu, 16 Jan 2020 00:22:49 +0000 (21:22 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Tue, 4 Feb 2020 19:09:36 +0000 (16:09 -0300)
validate/launcher/baseclasses.py

index 5574e1be7fd5102b088a1b7eb3f5fb72b4a3bbef..7a9e586cc2d5ae606a3506ce3d0c2a0801cf9d19 100644 (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: