Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 1 | inherit features_check |
| 2 | REQUIRED_DISTRO_FEATURES = "ptest" |
| 3 | |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 4 | require core-image-minimal.bb |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 5 | require conf/distro/include/ptest-packagelists.inc |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 6 | |
| 7 | DESCRIPTION += "Also includes ptest packages." |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 8 | HOMEPAGE = "https://www.yoctoproject.org/" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 9 | |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 10 | # Include the full set of ptests |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 11 | IMAGE_INSTALL += "${PTESTS_FAST} ${PTESTS_SLOW}" |
| 12 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 13 | # This image is sufficiently large (~1.8GB) that we need to be careful that it fits in a live |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 14 | # image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 15 | # box) and explicitly add just 1100MB. |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 16 | # strace-ptest in particular needs more than 500MB |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | IMAGE_OVERHEAD_FACTOR = "1.0" |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 18 | IMAGE_ROOTFS_EXTRA_SPACE = "1124288" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 19 | |
| 20 | # ptests need more memory than standard to avoid the OOM killer |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 21 | # also lttng-tools needs /tmp that has at least 2G |
| 22 | QB_MEM = "-m 4096" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 23 | |
| 24 | # Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places |
| 25 | PTEST_EXPECT_FAILURE = "1" |