blob: 1472451675e41f8af83cc598ed34e2f5c6c67807 [file] [log] [blame]
Andrew Geisslerd1e89492021-02-12 15:35:20 -06001inherit features_check
2REQUIRED_DISTRO_FEATURES = "ptest"
3
William A. Kennington IIIac69b482021-06-02 12:28:27 -07004require core-image-minimal.bb
Brad Bishopc342db32019-05-15 21:57:59 -04005require conf/distro/include/ptest-packagelists.inc
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006
7DESCRIPTION += "Also includes ptest packages."
Andrew Geissler90fd73c2021-03-05 15:25:55 -06008HOMEPAGE = "https://www.yoctoproject.org/"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05009
William A. Kennington IIIac69b482021-06-02 12:28:27 -070010# Include the full set of ptests
Brad Bishopc342db32019-05-15 21:57:59 -040011IMAGE_INSTALL += "${PTESTS_FAST} ${PTESTS_SLOW}"
12
Brad Bishop19323692019-04-05 15:28:33 -040013# This image is sufficiently large (~1.8GB) that we need to be careful that it fits in a live
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
Brad Bishop96ff1982019-08-19 13:50:42 -040015# box) and explicitly add just 1100MB.
Brad Bishop19323692019-04-05 15:28:33 -040016# strace-ptest in particular needs more than 500MB
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017IMAGE_OVERHEAD_FACTOR = "1.0"
Brad Bishop96ff1982019-08-19 13:50:42 -040018IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
Brad Bishop19323692019-04-05 15:28:33 -040019
20# ptests need more memory than standard to avoid the OOM killer
Andrew Geissler5199d832021-09-24 16:47:35 -050021# also lttng-tools needs /tmp that has at least 2G
22QB_MEM = "-m 4096"
Andrew Geissler82c905d2020-04-13 13:39:40 -050023
24# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
25PTEST_EXPECT_FAILURE = "1"