buildman: Add a partial test for ensure_board_list()
authorSimon Glass <sjg@chromium.org>
Wed, 19 Jul 2023 23:48:17 +0000 (17:48 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 24 Jul 2023 15:34:10 +0000 (09:34 -0600)
commit5df95cf197c7746d431cbada05c87e6e826d77be
tree8a5ed57c749478bb61e3ce3cf931c7fbf9946ce9
parentbd4ed9f72feb597e7a5a600398aa2add42aa84a7
buildman: Add a partial test for ensure_board_list()

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@chromium.org>
tools/buildman/board.py
tools/buildman/boards.py
tools/buildman/func_test.py
tools/buildman/test/boards/board0/MAINTAINERS [new file with mode: 0644]
tools/buildman/test/boards/board2/MAINTAINERS [new file with mode: 0644]