]> git.sur5r.net Git - u-boot/commitdiff
test/py: log when tests send CTRL-C
authorStephen Warren <swarren@nvidia.com>
Fri, 22 Jan 2016 19:30:10 +0000 (12:30 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 29 Jan 2016 04:01:23 +0000 (21:01 -0700)
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 <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
test/py/u_boot_console_base.py

index 418a26bb8e40d561d2b62948cd8962f114c935a2..433bec6e9fdd789ec9d55b1bb179f3528b17f0e9 100644 (file)
@@ -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):