blob: 4d59c9536be9cce49405e3248ba1a75e2eaabdc1 [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."
8
Brad Bishopc342db32019-05-15 21:57:59 -04009PROVIDES += "core-image-sato-ptest"
10
11# Also include ptests which may not otherwise be included in a sato image
12IMAGE_INSTALL += "${PTESTS_FAST} ${PTESTS_SLOW}"
13
Brad Bishop19323692019-04-05 15:28:33 -040014# 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 -050015# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
Brad Bishop96ff1982019-08-19 13:50:42 -040016# box) and explicitly add just 1100MB.
Brad Bishop19323692019-04-05 15:28:33 -040017# strace-ptest in particular needs more than 500MB
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018IMAGE_OVERHEAD_FACTOR = "1.0"
Brad Bishop96ff1982019-08-19 13:50:42 -040019IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
Brad Bishop19323692019-04-05 15:28:33 -040020
21# ptests need more memory than standard to avoid the OOM killer
Andrew Geissler82c905d2020-04-13 13:39:40 -050022# also lttng-tools needs /tmp that has at least 1G
23QB_MEM = "-m 2048"
24
25# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
26PTEST_EXPECT_FAILURE = "1"