summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
blob: eea89a5d6ca3ba027f438bed0183400a22b3a0fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
inherit features_check
REQUIRED_DISTRO_FEATURES = "ptest"

require core-image-sato-sdk.bb
require conf/distro/include/ptest-packagelists.inc

DESCRIPTION += "Also includes ptest packages."
HOMEPAGE = "https://www.yoctoproject.org/"

PROVIDES += "core-image-sato-ptest"

# Also include ptests which may not otherwise be included in a sato image
IMAGE_INSTALL += "${PTESTS_FAST} ${PTESTS_SLOW}"

# This image is sufficiently large (~1.8GB) that we need to be careful that it fits in a live
# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
# box) and explicitly add just 1100MB.
# strace-ptest in particular needs more than 500MB
IMAGE_OVERHEAD_FACTOR = "1.0"
IMAGE_ROOTFS_EXTRA_SPACE = "1124288"

# ptests need more memory than standard to avoid the OOM killer
# also lttng-tools needs /tmp that has at least 1G
QB_MEM = "-m 2048"

# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
PTEST_EXPECT_FAILURE = "1"