mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-14 15:16:16 +09:00
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>
This commit is contained in:
parent
c10eb9d39f
commit
783cbcd360
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user