Files
u-boot/tools/u_boot_pylib
Simon Glass 7355a91ba0 pickman: Add test coverage support
Add support for running pickman tests with code coverage checking,
similar to binman. Use test_util.run_test_suites() for running tests
and test_util.run_test_coverage() for coverage checking.

Options added to the 'test' command:
  -P: Number of processes for parallel test execution
  -T: Run with coverage checking
  -v: Verbosity level (0-4)

The coverage check allows failures for modules that require external
services (agent.py, gitlab_api.py, control.py, database.py) since
these cannot easily achieve 100% coverage in unit tests.

Also update test_util.py to recognize 'pickman' as using the 'test'
subcommand like binman and patman.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-16 16:09:53 -07:00
..
2025-05-01 20:03:34 -06:00
2025-07-26 23:55:02 +12:00

.. SPDX-License-Identifier: GPL-2.0+

# U-Boot Python Library
=======================

This is a Python library used by various U-Boot tools, including patman,
buildman and binman.

The module can be installed with pip::

   pip install u_boot_pylib

or via setup.py::

   ./setup.py install [--user]