meta-perl-ptest-all-image.bb 852 B

12345678910111213141516171819202122232425
  1. DESCRIPTION = "Recipe to trigger execution of all meta-perl ptest images."
  2. HOMEPAGE = "https://www.openembedded.org/"
  3. LICENSE = "MIT"
  4. inherit features_check nopackages
  5. REQUIRED_DISTRO_FEATURES = "ptest"
  6. require conf/include/ptest-packagelists-meta-perl.inc
  7. # Include the full set of ptests
  8. PTESTS_META_PERL = "${PTESTS_FAST_META_PERL} ${PTESTS_SLOW_META_PERL}"
  9. do_testimage[noexec] = "1"
  10. do_testimage[depends] = "${@' '.join(['meta-perl-ptest-image-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PERL').split()])}"
  11. do_build[depends] = "${@' '.join(['meta-perl-ptest-image-'+x+':do_build' for x in d.getVar('PTESTS_META_PERL').split()])}"
  12. # normally image.bbclass would do this
  13. EXCLUDE_FROM_WORLD = "1"
  14. python () {
  15. if bb.utils.contains('IMAGE_CLASSES', 'testimage', True, False, d):
  16. bb.build.addtask("do_testimage", "", "", d)
  17. }