summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-02-23 14:52:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-25 10:41:22 +0000
commitc43423cd28d086d31c06c7e047dba139b35f5cdb (patch)
tree7474005af907c27c37811ab14be28adb9bf7a3a5 /meta/recipes-sato
parent63304e8d4eee65d27efa7925b87f08cab6884a56 (diff)
downloadpoky-c43423cd28d086d31c06c7e047dba139b35f5cdb.tar.gz
ptest: add an option to enforce a failure (e.g. ptests are required to pass)
This can be useful with a more specific, targeted and robust set of ptest packages; the benefit is that ptest regressions are caught as they happen and can be more easily traced to changes that caused them. The existing AB ptest image continues to be expected to fail, my observation of the AB runs is that the full set of ptests is not robust enough (particularly around socket/network related tests) and sporadically fails in random places. This can probably be addressed by making ptests exclusive to a worker (e.g. there is no other workload happening at the same time as ptests). (From OE-Core rev: 102afcc7ea7d7673183f272a29ab233084ad168b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 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-sdk-ptest.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
index 58c257c49f..bf749acd79 100644
--- a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
+++ b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
@@ -18,3 +18,6 @@ IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
18# ptests need more memory than standard to avoid the OOM killer 18# ptests need more memory than standard to avoid the OOM killer
19# also lttng-tools needs /tmp that has at least 1G 19# also lttng-tools needs /tmp that has at least 1G
20QB_MEM = "-m 2048" 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"