binman: Specify the toolpath when running test coverage
authorSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:39:29 +0000 (18:39 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commit92dee5fcc53186eb06a22c347ad8323618ca683b
treecbc6fe2d60835725de51d6b3296d012a430355af
parent5d8b3384621a830f7acea4238b0bb555b857e058
binman: Specify the toolpath when running test coverage

At present binman's test coverage runs without a toolpath set. This means
that the system tools will be used. That may not be correct if they are
out of date or missing and this can result in a reduction in test coverage
below 100%.

Provide the toolpath to binman in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/main.py
tools/patman/test_util.py