[OE-core] [PATCH 3/3] image/testimage: Rework auto image test execution
ChenQi
Qi.Chen at windriver.com
Wed Jun 20 00:47:34 UTC 2018
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -487,7 +487,7 @@ HOSTTOOLS += " \
> "
>
> # Tools needed to run testimage runtime image testing
> -HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.data.inherits_class('testimage', d) or d.getVar('TEST_IMAGE') == '1') else ''}"
> +HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLASSES', 'testimage testsdk', True, False, d)) else ''}"
>
Hi Richard,
After this change, testimage and testsdk is limited to be used via
IMAGE_CLASSES. Using INHERIT directly will cause commands missing when
testing.
e.g.
INHERIT += "testimage"
Is it designed to be so?
Best Regards,
Chen Qi
More information about the Openembedded-core
mailing list