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>
Sat, 25 Jul 2020 01:25:15 +0000 (19:25 -0600)
commit32eb66d2d4f3f761d98946414bcf7ca08600d422
treed5628729152e4de4c189cd62d4839bf1c6e30209
parentfdb3040e964608c4d6caac9e8b18cb4b0a2a45b5
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