[PATCH v4 09/83] buildman: Add a partial test for ensure_board_list()

Simon Glass sjg at chromium.org
Mon Jul 24 20:46:16 CEST 2023


Create a new function which has the non-UI parts of ensure_board_list().
Add some tests for everything except the N: tag.

While we are here, fix the confusing usage of fname inside a loops that
also uses fname.

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

(no changes since v3)

Changes in v3:
- Add new patch with a partial test for ensure_board_list()

 tools/buildman/board.py                       |  6 +-
 tools/buildman/boards.py                      | 58 ++++++++++++----
 tools/buildman/func_test.py                   | 66 +++++++++++++++++++
 tools/buildman/test/boards/board0/MAINTAINERS |  5 ++
 tools/buildman/test/boards/board2/MAINTAINERS |  5 ++
 5 files changed, 126 insertions(+), 14 deletions(-)
 create mode 100644 tools/buildman/test/boards/board0/MAINTAINERS
 create mode 100644 tools/buildman/test/boards/board2/MAINTAINERS

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list