]> git.dujemihanovic.xyz Git - u-boot.git/commit
u_boot_pylib: Support running coverage on selected functions
authorSimon Glass <sjg@chromium.org>
Mon, 30 Sep 2024 18:51:36 +0000 (12:51 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Oct 2024 20:10:22 +0000 (14:10 -0600)
commitc95a3c889079c83f4a47c2a09794879378047592
tree86ec76c6a679a3dd1f1af32c14a1b18553931eaf
parent58918fa4f06c9bc529755efe133f514435d94467
u_boot_pylib: Support running coverage on selected functions

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@chromium.org>
tools/u_boot_pylib/test_util.py