patman: Move capture_sys_output() into terminal and rename
authorSimon Glass <sjg@chromium.org>
Tue, 29 Apr 2025 13:21:59 +0000 (07:21 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 27 May 2025 09:07:41 +0000 (10:07 +0100)
commitae3695f691c6325f1a504ee3df7f22d75c7a0c96
treef18e01121a9e05a60835462be85662a3d85cc7d9
parent6330f94a35142c135c96f5af952087ef3d9c3177
patman: Move capture_sys_output() into terminal and rename

This function is sometimes useful outside tests. Also it can affect how
terminal output is done, e.g. whether ANSI characters should be emitted
or not.

Move it out of the test_util package and into terminal.

Signed-off-by: Simon Glass <sjg@chromium.org>
14 files changed:
doc/develop/binman_tests.rst
tools/binman/bintool_test.py
tools/binman/cbfs_util_test.py
tools/binman/elf_test.py
tools/binman/fip_util_test.py
tools/binman/ftest.py
tools/binman/image_test.py
tools/buildman/func_test.py
tools/buildman/test.py
tools/dtoc/test_dtoc.py
tools/dtoc/test_src_scan.py
tools/patman/func_test.py
tools/u_boot_pylib/terminal.py
tools/u_boot_pylib/test_util.py