diff options
author | Simon Glass <sjg@chromium.org> | 2023-07-19 17:48:25 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-07-24 09:34:10 -0600 |
commit | 1aaaafadcca2cf6a4203784b8b2b1555c04919e8 (patch) | |
tree | 6813b64ae4d63934588b0a44b91513479adae6d8 /tools/buildman/boards.py | |
parent | 4cab9aa65fc3b8c3dd39546bd817273e8332cbe7 (diff) |
buildman: Sort the maintainer warnings
Sort the warnings into alphabetical order, for easier reading. Also make
sure that the buildman test files are ignored.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/boards.py')
-rw-r--r-- | tools/buildman/boards.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildman/boards.py b/tools/buildman/boards.py index 422f3476b01..269cafa6adc 100644 --- a/tools/buildman/boards.py +++ b/tools/buildman/boards.py @@ -766,7 +766,7 @@ class Boards: """ database = MaintainersDatabase() for (dirpath, _, filenames) in os.walk(srcdir): - if 'MAINTAINERS' in filenames: + if 'MAINTAINERS' in filenames and 'tools/buildman' not in dirpath: database.parse_file(srcdir, os.path.join(dirpath, 'MAINTAINERS')) @@ -779,7 +779,7 @@ class Boards: else: params['status'] = '-' params_list[i] = params - return database.warnings + return sorted(database.warnings) @classmethod def format_and_output(cls, params_list, output): |