summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAlex Franco <alejandro.franco@linux.intel.com>2016-02-23 09:14:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:33:02 +0000
commit6571a84376c8b2191ad203973bef6c762326c6fa (patch)
tree5419cb6b5ecfdf117f42cd5ba60af5cc5fb1d8f1 /meta/classes
parent8c457475626cc2e533ba0f9fad88ff15cc6154c4 (diff)
downloadpoky-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.bbclass8
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}"
33TEST_EXPORT_ONLY ?= "0" 33TEST_EXPORT_ONLY ?= "0"
34 34
35RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" 35RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}"
36MINTESTSUITE = "ping"
37NETTESTSUITE = "${MINTESTSUITE} ssh df date scp syslog"
38DEVTESTSUITE = "gcc kernelmodule ldd"
36 39
37DEFAULT_TEST_SUITES = "ping auto" 40DEFAULT_TEST_SUITES = "ping auto"
38DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" 41DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping"
42DEFAULT_TEST_SUITES_pn-core-image-minimal-dev = "${MINTESTSUITE}"
43DEFAULT_TEST_SUITES_pn-core-image-full-cmdline = "${NETTESTSUITE} perl python logrotate"
44DEFAULT_TEST_SUITES_pn-core-image-x11 = "${MINTESTSUITE}"
45DEFAULT_TEST_SUITES_pn-core-image-lsb = "${NETTESTSUITE} pam parselogs ${RPMTESTSUITE}"
39DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp date parselogs ${RPMTESTSUITE} \ 46DEFAULT_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)}"
41DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp date perl ldd gcc kernelmodule python parselogs ${RPMTESTSUITE}" 48DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp date perl ldd gcc kernelmodule python parselogs ${RPMTESTSUITE}"
49DEFAULT_TEST_SUITES_pn-core-image-lsb-dev = "${NETTESTSUITE} pam perl python parselogs ${RPMTESTSUITE}"
42DEFAULT_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" 50DEFAULT_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"
43DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" 51DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto"
44 52