diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-06-01 13:03:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-04 15:14:43 +0100 |
commit | 263f8ad612674b0b47cd980212556332c17cb370 (patch) | |
tree | aa5eb557bd9c11cc9d169186828f2a25ed5a3772 /scripts/lib/checklayer/cases/common.py | |
parent | bc6839394c06bb695b92b2183337e7381da1e86c (diff) | |
download | openembedded-core-263f8ad612674b0b47cd980212556332c17cb370.tar.gz openembedded-core-263f8ad612674b0b47cd980212556332c17cb370.tar.bz2 openembedded-core-263f8ad612674b0b47cd980212556332c17cb370.zip |
bitbake.conf: fix HOSTTOOLS setting related to image testing
A list of tools are added to HOSTTOOLS depending on if we inherit
testimage or not. Unfortunately, if we use TEST_IMAGE variable to
automate the test, these tools are not added to HOSTTOOLS.
Modify the condition to also check TEST_IMAGE to fix the above problem.
Also, change to use if...else... instead of list index for such setting.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/cases/common.py')
0 files changed, 0 insertions, 0 deletions