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 |
| 6 | |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 7 | # Include only fast (< 30 sec) ptests |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 8 | IMAGE_INSTALL += "${PTESTS_FAST}" |
| 9 | |
| 10 | DESCRIPTION += "Also includes ptest packages with fast execution times to allow for more automated QA." |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 11 | HOMEPAGE = "https://www.yoctoproject.org/" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 12 | |
| 13 | # This image is sufficiently large (~1.8GB) that it can't actually fit in a live |
| 14 | # image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the |
| 15 | # box) and explicitly add just 1500MB. |
| 16 | # strace-ptest in particular needs more than 500MB |
| 17 | IMAGE_OVERHEAD_FACTOR = "1.0" |
| 18 | IMAGE_ROOTFS_EXTRA_SPACE = "1524288" |
| 19 | |
| 20 | # ptests need more memory than standard to avoid the OOM killer |
| 21 | QB_MEM = "-m 1024" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 22 | |
| 23 | # Sadly at the moment the fast set of ptests is not robust enough and sporadically fails in a couple of places |
| 24 | PTEST_EXPECT_FAILURE = "1" |