[U-Boot] [PATCH v2 10/29] binman: Move coverage logic into a new test_util file

Simon Glass sjg at chromium.org
Mon Jul 9 19:52:29 UTC 2018


On 6 July 2018 at 10:27, Simon Glass <sjg at chromium.org> wrote:
> At present only binman has the logic for determining Python test coverage
> but this is useful for other tools also. Move it out into a separate file
> so it can be used by other tools.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Allow specifying modules which must be tested
> - Test that this works whether coverage shows a .py extension or not
>
>  tools/binman/binman.py    | 29 +++---------------
>  tools/patman/test_util.py | 64 +++++++++++++++++++++++++++++++++++++++
>  2 files changed, 68 insertions(+), 25 deletions(-)
>  create mode 100644 tools/patman/test_util.py

Applied to u-boot-dm


More information about the U-Boot mailing list