test: Add a section for closing the connection
This can take a while and involve multiple steps (e.g. turning the board back off). Add a section for it and show the output. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -183,7 +183,10 @@ class ConsoleBase(object):
|
||||
"""
|
||||
|
||||
if self.p:
|
||||
self.p.close()
|
||||
self.log.start_section('Stopping U-Boot')
|
||||
close_type = self.p.close()
|
||||
self.log.info(f'Close type: {close_type}')
|
||||
self.log.end_section('Stopping U-Boot')
|
||||
self.logstream.close()
|
||||
|
||||
def set_lab_mode(self):
|
||||
|
Reference in New Issue
Block a user