[PATCH v2 02/30] patman: Move capture_sys_output() into terminal and rename

Simon Glass sjg at chromium.org
Fri May 23 15:19:26 CEST 2025


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 at chromium.org>
---

(no changes since v1)

 doc/develop/binman_tests.rst    |   6 +-
 tools/binman/bintool_test.py    |  20 +++----
 tools/binman/cbfs_util_test.py  |  15 ++---
 tools/binman/elf_test.py        |   3 +-
 tools/binman/fip_util_test.py   |  11 ++--
 tools/binman/ftest.py           | 101 ++++++++++++++++----------------
 tools/binman/image_test.py      |   4 +-
 tools/buildman/func_test.py     |  10 ++--
 tools/buildman/test.py          |   6 +-
 tools/dtoc/test_dtoc.py         |  11 ++--
 tools/dtoc/test_src_scan.py     |  25 ++++----
 tools/patman/func_test.py       |  15 +++--
 tools/u_boot_pylib/terminal.py  |  16 +++++
 tools/u_boot_pylib/test_util.py |  17 ------
 14 files changed, 132 insertions(+), 128 deletions(-)

Applied to sjg/master, thanks!


More information about the U-Boot mailing list