blob: bf749acd79c684789442731206de2238bba5862a [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001require core-image-sato-sdk.bb
Brad Bishopc342db32019-05-15 21:57:59 -04002require conf/distro/include/ptest-packagelists.inc
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05003
4DESCRIPTION += "Also includes ptest packages."
5
Brad Bishopc342db32019-05-15 21:57:59 -04006PROVIDES += "core-image-sato-ptest"
7
8# Also include ptests which may not otherwise be included in a sato image
9IMAGE_INSTALL += "${PTESTS_FAST} ${PTESTS_SLOW}"
10
Brad Bishop19323692019-04-05 15:28:33 -040011# 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 -050012# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
Brad Bishop96ff1982019-08-19 13:50:42 -040013# box) and explicitly add just 1100MB.
Brad Bishop19323692019-04-05 15:28:33 -040014# strace-ptest in particular needs more than 500MB
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015IMAGE_OVERHEAD_FACTOR = "1.0"
Brad Bishop96ff1982019-08-19 13:50:42 -040016IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
Brad Bishop19323692019-04-05 15:28:33 -040017
18# ptests need more memory than standard to avoid the OOM killer
Andrew Geissler82c905d2020-04-13 13:39:40 -050019# also lttng-tools needs /tmp that has at least 1G
20QB_MEM = "-m 2048"
21
22# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
23PTEST_EXPECT_FAILURE = "1"