summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-17 14:18:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-23 16:52:27 +0100
commit2d8f8ab85d98929b0f1f699f256b40b1d9cddaec (patch)
tree0de375c33007d9c928f0d7b083aebc71301f3249 /meta/recipes-sato
parent48dbb1bd980f7ed17a612fa7c1be298f14955c3f (diff)
downloadopenembedded-core-contrib-2d8f8ab85d98929b0f1f699f256b40b1d9cddaec.tar.gz
core-image-sato-ptest-fast: Add 'fast' ptest execution image
Create a common include file which lists recipes that have ptests divided into 'fast' and 'slow' groups. This allows us to include ptests which otherwise may not get included in images and allows us to test the faster running things more regularly. The new image allows access to these faster executing tests. 'fast' is defined as tests which execute in under 30s roughly speaking. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r--meta/recipes-sato/images/core-image-sato-ptest-fast.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-sato/images/core-image-sato-ptest-fast.bb b/meta/recipes-sato/images/core-image-sato-ptest-fast.bb
new file mode 100644
index 0000000000..b794a7dc9e
--- /dev/null
+++ b/meta/recipes-sato/images/core-image-sato-ptest-fast.bb
@@ -0,0 +1,16 @@
+require core-image-sato-sdk.bb
+require conf/distro/include/ptest-packagelists.inc
+
+IMAGE_INSTALL += "${PTESTS_FAST}"
+
+DESCRIPTION += "Also includes ptest packages with fast execution times to allow for more automated QA."
+
+# This image is sufficiently large (~1.8GB) that it can't actually fit in a live
+# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
+# box) and explicitly add just 1500MB.
+# strace-ptest in particular needs more than 500MB
+IMAGE_OVERHEAD_FACTOR = "1.0"
+IMAGE_ROOTFS_EXTRA_SPACE = "1524288"
+
+# ptests need more memory than standard to avoid the OOM killer
+QB_MEM = "-m 1024"