Skip to content
Snippets Groups Projects
Commit 783cbcd3 authored by Stephen Warren's avatar Stephen Warren Committed by Simon Glass
Browse files

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: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent c10eb9d3
No related branches found
No related tags found
No related merge requests found
...@@ -212,6 +212,7 @@ class ConsoleBase(object): ...@@ -212,6 +212,7 @@ class ConsoleBase(object):
Nothing. Nothing.
''' '''
self.log.action('Sending Ctrl-C')
self.run_command(chr(3), wait_for_echo=False, send_nl=False) self.run_command(chr(3), wait_for_echo=False, send_nl=False)
def drain_console(self): def drain_console(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment