aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStephen Warren2016-01-22 12:30:10 -0700
committerSimon Glass2016-01-28 21:01:23 -0700
commit783cbcd3604088e9ff12b552fc209b3696c0e2b6 (patch)
treefd7bc9016bd5191862f2a3e5cd8d2d1d4fea8c9b /test
parentc10eb9d39fb54f435dbd632f71c760e4a887a015 (diff)
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 <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/py/u_boot_console_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py
index 418a26bb8e4..433bec6e9fd 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):