summaryrefslogtreecommitdiff
path: root/tools/binman/main.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-04-11 14:32:02 -0600
committerTom Rini <trini@konsulko.com>2025-04-11 16:47:29 -0600
commita40fc5afaec079ee4e621965fed18dcc94240d8c (patch)
treea6d644d2f13d543f7da3f6de1ef1a8d6c9eec68b /tools/binman/main.py
parent407d68638fe32418d61681407effba2a303bb9ee (diff)
parent6f875290eb107106059f4edfcf8afe31bed9a378 (diff)
Merge patch series "binman: Check code-coverage requirements"
Simon Glass <sjg@chromium.org> says: This series adds a cover-coverage check to CI for Binman. The iMX8 tests are still not completed, so a work-around is included for those. A few fixes are included for some other problems. Link: https://lore.kernel.org/r/20250410124333.843527-1-sjg@chromium.org
Diffstat (limited to 'tools/binman/main.py')
-rwxr-xr-xtools/binman/main.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/binman/main.py b/tools/binman/main.py
index 619840e7d55..326f5c93155 100755
--- a/tools/binman/main.py
+++ b/tools/binman/main.py
@@ -94,10 +94,16 @@ def RunTestCoverage(toolpath, build_dir, args):
if toolpath:
for path in toolpath:
extra_args += ' --toolpath %s' % path
+
+ # Some files unfortunately don't thave the required test coverage. This will
+ # eventually be fixed, but exclude them for now
test_util.run_test_coverage('tools/binman/binman', None,
['*test*', '*main.py', 'tools/patman/*', 'tools/dtoc/*',
'tools/u_boot_pylib/*'],
- build_dir, all_set, extra_args or None, args=args)
+ build_dir, all_set, extra_args or None, args=args,
+ allow_failures=['tools/binman/btool/cst.py',
+ 'tools/binman/etype/nxp_imx8mcst.py',
+ 'tools/binman/etype/nxp_imx8mimage.py'])
def RunBinman(args):
"""Main entry point to binman once arguments are parsed