]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Set up 'entry' to permit full test coverage
authorSimon Glass <sjg@chromium.org>
Mon, 13 Nov 2017 04:52:20 +0000 (21:52 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 23 Nov 2017 01:05:38 +0000 (18:05 -0700)
commit5f31971f9daf9f1201b756846b05c2d9510defe4
tree6c37ad79e68d7e2a4971dd04304370bd0079eeac
parent2ba841f96289922bd3b79b1e1e49b51d0ba9649c
binman: Set up 'entry' to permit full test coverage

There is a little check at the top of entry.py which decides if importlib
is available. At present this has no test coverage. To add this we will
need to import the module twice, once with importlib and once without.
In preparation for allowing a test to control the importing of this
module, remove all global imports of the 'entry' module.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/entry_test.py
tools/binman/ftest.py
tools/binman/image.py