diff options
Diffstat (limited to 'meta/recipes-graphics/images/core-image-weston-ptest-fast.bb')
-rw-r--r-- | meta/recipes-graphics/images/core-image-weston-ptest-fast.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-graphics/images/core-image-weston-ptest-fast.bb b/meta/recipes-graphics/images/core-image-weston-ptest-fast.bb new file mode 100644 index 0000000000..df02befb66 --- /dev/null +++ b/meta/recipes-graphics/images/core-image-weston-ptest-fast.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | require core-image-weston-sdk.bb | ||
2 | require conf/distro/include/ptest-packagelists.inc | ||
3 | |||
4 | # Include only fast (< 30 sec) ptests | ||
5 | IMAGE_INSTALL += "${PTESTS_FAST}" | ||
6 | |||
7 | DESCRIPTION += "Also includes ptest packages with fast execution times to allow for more automated QA." | ||
8 | |||
9 | # This image is sufficiently large (~1.8GB) that it can't actually fit in a live | ||
10 | # image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the | ||
11 | # box) and explicitly add just 1500MB. | ||
12 | # strace-ptest in particular needs more than 500MB | ||
13 | IMAGE_OVERHEAD_FACTOR = "1.0" | ||
14 | IMAGE_ROOTFS_EXTRA_SPACE = "1524288" | ||
15 | |||
16 | # ptests need more memory than standard to avoid the OOM killer | ||
17 | QB_MEM = "-m 1024" | ||
18 | |||
19 | # Sadly at the moment the fast set of ptests is not robust enough and sporadically fails in a couple of places | ||
20 | PTEST_EXPECT_FAILURE = "1" | ||