meta-openembedded/meta-python/recipes-core/images/meta-python-image-ptest-all.bb
Khem Raj 7b5cb622b4 images: Rename ptest images to rhyme with oe-core ptest images
Easy to understand for new-comers.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06 08:37:21 -07:00

26 lines
870 B
BlitzBasic

DESCRIPTION = "Recipe to trigger execution of all meta-python ptest images."
HOMEPAGE = "https://www.openembedded.org/"
LICENSE = "MIT"
inherit features_check nopackages
REQUIRED_DISTRO_FEATURES = "ptest"
require conf/include/ptest-packagelists-meta-python.inc
# Include the full set of ptests
PTESTS_META_PYTHON = "${PTESTS_FAST_META_PYTHON} ${PTESTS_SLOW_META_PYTHON}"
do_testimage[noexec] = "1"
do_testimage[depends] = "${@' '.join(['meta-python-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PYTHON').split()])}"
do_build[depends] = "${@' '.join(['meta-python-image-ptest-'+x+':do_build' for x in d.getVar('PTESTS_META_PYTHON').split()])}"
# normally image.bbclass would do this
EXCLUDE_FROM_WORLD = "1"
python () {
if bb.utils.contains('IMAGE_CLASSES', 'testimage', True, False, d):
bb.build.addtask("do_testimage", "", "", d)
}