blob: eea89a5d6ca3ba027f438bed0183400a22b3a0fc [file] [log] [blame]
Andrew Geisslerd1e89492021-02-12 15:35:20 -06001inherit features_check
2REQUIRED_DISTRO_FEATURES = "ptest"
3
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05004require core-image-sato-sdk.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
Brad Bishopc342db32019-05-15 21:57:59 -040010PROVIDES += "core-image-sato-ptest"
11
12# Also include ptests which may not otherwise be included in a sato image
13IMAGE_INSTALL += "${PTESTS_FAST} ${PTESTS_SLOW}"
14
Brad Bishop19323692019-04-05 15:28:33 -040015# 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 -050016# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
Brad Bishop96ff1982019-08-19 13:50:42 -040017# box) and explicitly add just 1100MB.
Brad Bishop19323692019-04-05 15:28:33 -040018# strace-ptest in particular needs more than 500MB
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019IMAGE_OVERHEAD_FACTOR = "1.0"
Brad Bishop96ff1982019-08-19 13:50:42 -040020IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
Brad Bishop19323692019-04-05 15:28:33 -040021
22# ptests need more memory than standard to avoid the OOM killer
Andrew Geissler82c905d2020-04-13 13:39:40 -050023# also lttng-tools needs /tmp that has at least 1G
24QB_MEM = "-m 2048"
25
26# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
27PTEST_EXPECT_FAILURE = "1"