]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
imagefeatures: New test case, test_empty_image, added
authorKhairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Wed, 21 Oct 2020 08:55:28 +0000 (16:55 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Oct 2020 11:56:52 +0000 (12:56 +0100)
commit1f8bdaa746c6e7efc07789256d5c050780c81f4c
tree7b4fa58cd8f458db32e165065fba8dcc423ba7f6
parent5a0237ad40457bbaedcc3f0e6c130612981eece3
imagefeatures: New test case, test_empty_image, added

An empty image build file exists under the meta-selftest folder, test-empty-image.bb,
which builds an image with no additional packages. However, there were no further
selftest created to verify its emptiness

This change consists of the selftest related to the said image to verify its
emptiness and the 'import glob' moved as global import instead of local import.

The expected outcome of the test should be TRUE or 1 if the .manifest file content
is empty.

[YOCTO #8455]

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/imagefeatures.py