X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=test%2Fpy%2Fu_boot_console_base.py;h=4bccd72050b787bd1c0802cc8ce7d50ceaf4fb7b;hb=0292bc0d13ab6d026e2503161b6822a6358280d0;hp=b1f474236e4eaca6b1e0be679ab79edc8c279de8;hpb=4ba58bdabd0ad8356401e5221e8377ebd412362d;p=u-boot diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py index b1f474236e..4bccd72050 100644 --- a/test/py/u_boot_console_base.py +++ b/test/py/u_boot_console_base.py @@ -160,7 +160,7 @@ class ConsoleBase(object): Args: cmd: The command to send. - wait_for_each: Boolean indicating whether to wait for U-Boot to + wait_for_echo: Boolean indicating whether to wait for U-Boot to echo the command text back to its output. send_nl: Boolean indicating whether to send a newline character after the command string. @@ -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):