[PATCH 1/3] u_boot_pylib: Support running coverage on selected functions

Simon Glass sjg at chromium.org
Fri Oct 18 01:11:57 CEST 2024


At present run_test_coverage() assumes you want code coverage for the
entire code base. This is the normal situation, but sometimes it is
useful to see the coverage provided by just a single test. Add support
for this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/u_boot_pylib/test_util.py | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list