mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 23:11:32 +02:00
patman: Convert camel case in terminal.py
Convert this file to snake case and update all files which use it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -148,7 +148,7 @@ class TestBuild(unittest.TestCase):
|
||||
self.toolchains.Add('gcc', test=False)
|
||||
|
||||
# Avoid sending any output
|
||||
terminal.SetPrintTestMode()
|
||||
terminal.set_print_test_mode()
|
||||
self._col = terminal.Color()
|
||||
|
||||
self.base_dir = tempfile.mkdtemp()
|
||||
@@ -209,7 +209,7 @@ class TestBuild(unittest.TestCase):
|
||||
# associated with each. This calls our Make() to inject the fake output.
|
||||
build.BuildBoards(self.commits, board_selected, keep_outputs=False,
|
||||
verbose=False)
|
||||
lines = terminal.GetPrintTestLines()
|
||||
lines = terminal.get_print_test_lines()
|
||||
count = 0
|
||||
for line in lines:
|
||||
if line.text.strip():
|
||||
@@ -221,8 +221,8 @@ class TestBuild(unittest.TestCase):
|
||||
build.SetDisplayOptions(**kwdisplay_args);
|
||||
build.ShowSummary(self.commits, board_selected)
|
||||
if echo_lines:
|
||||
terminal.EchoPrintTestLines()
|
||||
return iter(terminal.GetPrintTestLines())
|
||||
terminal.echo_print_test_lines()
|
||||
return iter(terminal.get_print_test_lines())
|
||||
|
||||
def _CheckOutput(self, lines, list_error_boards=False,
|
||||
filter_dtb_warnings=False,
|
||||
|
Reference in New Issue
Block a user