diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-01-04 14:13:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-05 11:55:35 +0000 |
commit | 9b32b8516a111107a98a844afba1a0bb5fcda3fe (patch) | |
tree | d52bdb2d8cebdb38ff2b8524d22ccfbd07d69b55 /meta | |
parent | 8288a832e111d5595bbf24bc44fd32516ebd0546 (diff) | |
download | poky-9b32b8516a111107a98a844afba1a0bb5fcda3fe.tar.gz |
testimage.bbclass: add ptest to the list of runtime tests whenever possible
If no ptest packages are installed in the image, the test does nothing;
if ptest packages are installed in the image, then they should be
run without user having to enable that manually.
(From OE-Core rev: f57feab2727dca916744deb64825f3beaf07961d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/testimage.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 7260ad4517..3acccbb8fd 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -44,16 +44,16 @@ DEVTESTSUITE = "gcc kernelmodule ldd" | |||
44 | DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto" | 44 | DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto" |
45 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "${MINTESTSUITE}" | 45 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "${MINTESTSUITE}" |
46 | DEFAULT_TEST_SUITES_pn-core-image-minimal-dev = "${MINTESTSUITE}" | 46 | DEFAULT_TEST_SUITES_pn-core-image-minimal-dev = "${MINTESTSUITE}" |
47 | DEFAULT_TEST_SUITES_pn-core-image-full-cmdline = "${NETTESTSUITE} perl python logrotate" | 47 | DEFAULT_TEST_SUITES_pn-core-image-full-cmdline = "${NETTESTSUITE} perl python logrotate ptest" |
48 | DEFAULT_TEST_SUITES_pn-core-image-x11 = "${MINTESTSUITE}" | 48 | DEFAULT_TEST_SUITES_pn-core-image-x11 = "${MINTESTSUITE}" |
49 | DEFAULT_TEST_SUITES_pn-core-image-lsb = "${NETTESTSUITE} pam parselogs ${RPMTESTSUITE}" | 49 | DEFAULT_TEST_SUITES_pn-core-image-lsb = "${NETTESTSUITE} pam parselogs ${RPMTESTSUITE} ptest" |
50 | DEFAULT_TEST_SUITES_pn-core-image-sato = "${NETTESTSUITE} connman xorg parselogs ${RPMTESTSUITE} \ | 50 | DEFAULT_TEST_SUITES_pn-core-image-sato = "${NETTESTSUITE} connman xorg parselogs ${RPMTESTSUITE} \ |
51 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)}" | 51 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)} ptest" |
52 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \ | 52 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \ |
53 | connman ${DEVTESTSUITE} logrotate perl parselogs python ${RPMTESTSUITE} xorg" | 53 | connman ${DEVTESTSUITE} logrotate perl parselogs python ${RPMTESTSUITE} xorg ptest" |
54 | DEFAULT_TEST_SUITES_pn-core-image-lsb-dev = "${NETTESTSUITE} pam perl python parselogs ${RPMTESTSUITE}" | 54 | DEFAULT_TEST_SUITES_pn-core-image-lsb-dev = "${NETTESTSUITE} pam perl python parselogs ${RPMTESTSUITE} ptest" |
55 | DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \ | 55 | DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \ |
56 | connman ${DEVTESTSUITE} logrotate pam parselogs perl python ${RPMTESTSUITE}" | 56 | connman ${DEVTESTSUITE} logrotate pam parselogs perl python ${RPMTESTSUITE} ptest" |
57 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" | 57 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" |
58 | 58 | ||
59 | # aarch64 has no graphics | 59 | # aarch64 has no graphics |