[PATCH 06/25] patman: Move common test code into a new module

Simon Glass sjg at chromium.org
Sat May 24 07:06:27 CEST 2025


The func_test file is quite large. In order to allow new tests to be
added to a separate file, move the common test code into a separate
class, to be inherited by other classes.

Drop unnecessary imports in func_test

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/patman/__init__.py    |   2 +-
 tools/patman/control.py     |   3 -
 tools/patman/func_test.py   | 213 ++++------------------------------
 tools/patman/test_common.py | 222 ++++++++++++++++++++++++++++++++++++
 4 files changed, 248 insertions(+), 192 deletions(-)
 create mode 100644 tools/patman/test_common.py

Applied to sjg/master, thanks!


More information about the U-Boot mailing list