test/py: add timestamps to log
[oweals/u-boot.git] / test / py / u_boot_console_base.py
index eedf73f85831bb99c80d3502d185a95cd16f0e24..4bccd72050b787bd1c0802cc8ce7d50ceaf4fb7b 100644 (file)
@@ -215,6 +215,8 @@ class ConsoleBase(object):
             self.log.error(str(ex))
             self.cleanup_spawn()
             raise
+        finally:
+            self.log.timestamp()
 
     def run_command_list(self, cmds):
         """Run a list of commands.
@@ -370,6 +372,7 @@ class ConsoleBase(object):
             self.cleanup_spawn()
             raise
         finally:
+            self.log.timestamp()
             self.log.end_section('Starting U-Boot')
 
     def cleanup_spawn(self):