summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-08 14:25:23 -0600
committerSimon Glass <sjg@chromium.org>2019-07-24 12:53:46 -0700
commite90fe1b40fe4007a5119f15dacb9cd5ba5ce7d72 (patch)
treeb3f7fecc2a1a3bbed38282d25c91c29bc5e92f07 /arch/powerpc
parente073d4e14ff76f545a71dc40fa324618ce80adcb (diff)
binman: Simplify the entry test
The current test for the 'entry' module is a bit convoluted since it has to import the module multiple times. It also relies on ordering, in that test1EntryNoImportLib() must run before test2EntryImportLib() if they are running in the same Python process. This is unreliable since neither the ordering of tests nor the process that they run in is defined. Fix this by always reloading the entry in these two tests. Also add a check that the expected value of have_importlib is obtained. This corrects a code-coverage problem in the 'entry' module on some systems. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions