From: Stephen Warren Date: Fri, 22 Jan 2016 19:30:10 +0000 (-0700) Subject: test/py: log when tests send CTRL-C X-Git-Tag: v2016.03-rc1~41^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=783cbcd3604088e9ff12b552fc209b3696c0e2b6;p=platform%2Fkernel%2Fu-boot.git test/py: log when tests send CTRL-C Write a note to the log file when a test sends CTRL-C to U-Boot. This makes it easier to follow what's happening in the logs, especially since U-Boot doesn't echo the character back to its output, so there's no other signal of what's going on. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py index 418a26b..433bec6 100644 --- a/test/py/u_boot_console_base.py +++ b/test/py/u_boot_console_base.py @@ -212,6 +212,7 @@ class ConsoleBase(object): Nothing. ''' + self.log.action('Sending Ctrl-C') self.run_command(chr(3), wait_for_echo=False, send_nl=False) def drain_console(self):