summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/testimage.bbclass32
1 files changed, 9 insertions, 23 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index d7dac24c92..59d8c4e8e2 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -40,31 +40,17 @@ TEST_NEEDED_PACKAGES_DIR ?= "${WORKDIR}/testimage/packages"
40TEST_EXTRACTED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/extracted" 40TEST_EXTRACTED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/extracted"
41TEST_PACKAGED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/packaged" 41TEST_PACKAGED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/packaged"
42 42
43PKGMANTESTSUITE = "\ 43BASICTESTSUITE = "\
44 ping date df ssh scp python perl gi ptest parselogs \
45 logrotate connman systemd oe_syslog pam stap ldd xorg \
44 ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'dnf rpm', '', d)} \ 46 ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'dnf rpm', '', d)} \
45 ${@bb.utils.contains('IMAGE_PKGTYPE', 'ipk', 'opkg', '', d)} \ 47 ${@bb.utils.contains('IMAGE_PKGTYPE', 'ipk', 'opkg', '', d)} \
46 ${@bb.utils.contains('IMAGE_PKGTYPE', 'deb', 'apt', '', d)} \ 48 ${@bb.utils.contains('IMAGE_PKGTYPE', 'deb', 'apt', '', d)}"
47 " 49DEVTESTSUITE = "gcc kernelmodule buildcpio buildlzip buildgalculator "
48SYSTEMDSUITE = "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 50
49MINTESTSUITE = "ping" 51DEFAULT_TEST_SUITES = "${BASICTESTSUITE}"
50NETTESTSUITE = "${MINTESTSUITE} ssh df date scp oe_syslog ${SYSTEMDSUITE}" 52DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "${BASICTESTSUITE} ${DEVTESTSUITE}"
51DEVTESTSUITE = "gcc kernelmodule ldd" 53DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "${BASICTESTSUITE} ${DEVTESTSUITE}"
52PTESTTESTSUITE = "${MINTESTSUITE} ssh scp ptest"
53
54DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto"
55DEFAULT_TEST_SUITES_pn-core-image-minimal = "${MINTESTSUITE}"
56DEFAULT_TEST_SUITES_pn-core-image-minimal-dev = "${MINTESTSUITE}"
57DEFAULT_TEST_SUITES_pn-core-image-full-cmdline = "${NETTESTSUITE} perl python logrotate ptest"
58DEFAULT_TEST_SUITES_pn-core-image-x11 = "${MINTESTSUITE}"
59DEFAULT_TEST_SUITES_pn-core-image-lsb = "${NETTESTSUITE} pam parselogs ${PKGMANTESTSUITE} ptest"
60DEFAULT_TEST_SUITES_pn-core-image-sato = "${NETTESTSUITE} connman xorg parselogs ${PKGMANTESTSUITE} \
61 ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)} ptest gi"
62DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \
63 connman ${DEVTESTSUITE} logrotate perl parselogs python ${PKGMANTESTSUITE} xorg ptest gi stap"
64DEFAULT_TEST_SUITES_pn-core-image-lsb-dev = "${NETTESTSUITE} pam perl python parselogs ${PKGMANTESTSUITE} ptest gi"
65DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \
66 connman ${DEVTESTSUITE} logrotate pam parselogs perl python ${PKGMANTESTSUITE} ptest gi stap"
67DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto"
68 54
69# aarch64 has no graphics 55# aarch64 has no graphics
70DEFAULT_TEST_SUITES_remove_aarch64 = "xorg" 56DEFAULT_TEST_SUITES_remove_aarch64 = "xorg"