diff options
author | Alex Franco <alejandro.franco@linux.intel.com> | 2016-02-23 09:14:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:02 +0000 |
commit | 6571a84376c8b2191ad203973bef6c762326c6fa (patch) | |
tree | 5419cb6b5ecfdf117f42cd5ba60af5cc5fb1d8f1 /meta/classes | |
parent | 8c457475626cc2e533ba0f9fad88ff15cc6154c4 (diff) | |
download | poky-6571a84376c8b2191ad203973bef6c762326c6fa.tar.gz |
testimage.bbclass: add generic, image test suites
Add generic test suites MINTESTSUITE, NETTESTSUITE, DEVTESTSUITE to
group common test suites.
Add DEFAULT_TEST_SUITES_pn- variables for:
* core-image-minimal-dev
* core-image-full-cmdline
* core-image-x11
* core-image-lsb
* core-image-lsb-dev
New default test suites use generic test suites.
Existing default test suites not modified.
[YOCTO #8410]
(From OE-Core rev: 8d194c6300964a393b6b69b7d06c0a729a5f8b5f)
Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/testimage.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index eed27be4ce..791cce39f7 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -33,12 +33,20 @@ TEST_EXPORT_DIR ?= "${TMPDIR}/testimage/${PN}" | |||
33 | TEST_EXPORT_ONLY ?= "0" | 33 | TEST_EXPORT_ONLY ?= "0" |
34 | 34 | ||
35 | RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" | 35 | RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" |
36 | MINTESTSUITE = "ping" | ||
37 | NETTESTSUITE = "${MINTESTSUITE} ssh df date scp syslog" | ||
38 | DEVTESTSUITE = "gcc kernelmodule ldd" | ||
36 | 39 | ||
37 | DEFAULT_TEST_SUITES = "ping auto" | 40 | DEFAULT_TEST_SUITES = "ping auto" |
38 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" | 41 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" |
42 | DEFAULT_TEST_SUITES_pn-core-image-minimal-dev = "${MINTESTSUITE}" | ||
43 | DEFAULT_TEST_SUITES_pn-core-image-full-cmdline = "${NETTESTSUITE} perl python logrotate" | ||
44 | DEFAULT_TEST_SUITES_pn-core-image-x11 = "${MINTESTSUITE}" | ||
45 | DEFAULT_TEST_SUITES_pn-core-image-lsb = "${NETTESTSUITE} pam parselogs ${RPMTESTSUITE}" | ||
39 | DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp date parselogs ${RPMTESTSUITE} \ | 46 | DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp date parselogs ${RPMTESTSUITE} \ |
40 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)}" | 47 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)}" |
41 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp date perl ldd gcc kernelmodule python parselogs ${RPMTESTSUITE}" | 48 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp date perl ldd gcc kernelmodule python parselogs ${RPMTESTSUITE}" |
49 | DEFAULT_TEST_SUITES_pn-core-image-lsb-dev = "${NETTESTSUITE} pam perl python parselogs ${RPMTESTSUITE}" | ||
42 | DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "ping buildcvs buildiptables buildsudoku connman date df gcc kernelmodule ldd pam parselogs perl python scp ${RPMTESTSUITE} ssh syslog logrotate" | 50 | DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "ping buildcvs buildiptables buildsudoku connman date df gcc kernelmodule ldd pam parselogs perl python scp ${RPMTESTSUITE} ssh syslog logrotate" |
43 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" | 51 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" |
44 | 52 | ||