From 1b21842eab660ab1f80b89057abab99473b3bb5a Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 19 Jul 2023 17:48:27 -0600 Subject: buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass --- tools/buildman/func_test.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools/buildman/func_test.py') diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py index bb9eea335d1..7f3d54cc762 100644 --- a/tools/buildman/func_test.py +++ b/tools/buildman/func_test.py @@ -976,7 +976,8 @@ config TARGET_OTHER endif ''') tools.write_file(kc_file, orig_kc_data + extra) - params_list, warnings = self._boards.build_board_list(config_dir, src) + params_list, warnings = self._boards.build_board_list(config_dir, src, + warn_targets=True) self.assertEquals(2, len(params_list)) self.assertEquals( ['WARNING: board2_defconfig: Duplicate TARGET_xxx: board2 and other'], @@ -986,7 +987,8 @@ endif lines = [b'' if line == b'config TARGET_BOARD2\n' else line for line in orig_kc_data.splitlines(keepends=True)] tools.write_file(kc_file, b''.join(lines)) - params_list, warnings = self._boards.build_board_list(config_dir, src) + params_list, warnings = self._boards.build_board_list(config_dir, src, + warn_targets=True) self.assertEquals(2, len(params_list)) self.assertEquals( ['WARNING: board2_defconfig: No TARGET_BOARD2 enabled'], -- cgit v1.2.3