On Fri, 2021-01-22 at 11:28 +0530, Milan Shah wrote:
> An oe-selftest test is added to ensure
> meta-selftest/recipes-test/images/test-empty-image.bb builds and is empty.
>
> It is just a test that ensures that an empty image has no packages in it
> (i.e. nothing in the manifest)
>
> See [YOCTO #8455] for details.
>
> Signed-off-by: Milan Shah <[email protected]>
> ---
> meta/lib/oeqa/selftest/cases/manifest.py | 45 ++++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
I was curious what else was using test-empty-image.bb and I see a test
in:
meta/lib/oeqa/selftest/cases/imagefeatures.py:
"""Test creation of image with no packages"""
bitbake('test-empty-image')
res_dir = get_bb_var('DEPLOY_DIR_IMAGE')
images = os.path.join(res_dir, "test-empty-image-*.manifest")
result = glob.glob(images)
with open(result[1],"r") as f:
self.assertEqual(len(f.read().strip()),0)
Is this test doing the same thing?
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147731):
https://lists.openembedded.org/g/openembedded-core/message/147731
Mute This Topic: https://lists.openembedded.org/mt/80024577/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-