diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/testimage.bbclass | 32 |
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" | |||
40 | TEST_EXTRACTED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/extracted" | 40 | TEST_EXTRACTED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/extracted" |
41 | TEST_PACKAGED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/packaged" | 41 | TEST_PACKAGED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/packaged" |
42 | 42 | ||
43 | PKGMANTESTSUITE = "\ | 43 | BASICTESTSUITE = "\ |
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 | " | 49 | DEVTESTSUITE = "gcc kernelmodule buildcpio buildlzip buildgalculator " |
48 | SYSTEMDSUITE = "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 50 | |
49 | MINTESTSUITE = "ping" | 51 | DEFAULT_TEST_SUITES = "${BASICTESTSUITE}" |
50 | NETTESTSUITE = "${MINTESTSUITE} ssh df date scp oe_syslog ${SYSTEMDSUITE}" | 52 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "${BASICTESTSUITE} ${DEVTESTSUITE}" |
51 | DEVTESTSUITE = "gcc kernelmodule ldd" | 53 | DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "${BASICTESTSUITE} ${DEVTESTSUITE}" |
52 | PTESTTESTSUITE = "${MINTESTSUITE} ssh scp ptest" | ||
53 | |||
54 | DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto" | ||
55 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "${MINTESTSUITE}" | ||
56 | DEFAULT_TEST_SUITES_pn-core-image-minimal-dev = "${MINTESTSUITE}" | ||
57 | DEFAULT_TEST_SUITES_pn-core-image-full-cmdline = "${NETTESTSUITE} perl python logrotate ptest" | ||
58 | DEFAULT_TEST_SUITES_pn-core-image-x11 = "${MINTESTSUITE}" | ||
59 | DEFAULT_TEST_SUITES_pn-core-image-lsb = "${NETTESTSUITE} pam parselogs ${PKGMANTESTSUITE} ptest" | ||
60 | DEFAULT_TEST_SUITES_pn-core-image-sato = "${NETTESTSUITE} connman xorg parselogs ${PKGMANTESTSUITE} \ | ||
61 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)} ptest gi" | ||
62 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \ | ||
63 | connman ${DEVTESTSUITE} logrotate perl parselogs python ${PKGMANTESTSUITE} xorg ptest gi stap" | ||
64 | DEFAULT_TEST_SUITES_pn-core-image-lsb-dev = "${NETTESTSUITE} pam perl python parselogs ${PKGMANTESTSUITE} ptest gi" | ||
65 | DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \ | ||
66 | connman ${DEVTESTSUITE} logrotate pam parselogs perl python ${PKGMANTESTSUITE} ptest gi stap" | ||
67 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" | ||
68 | 54 | ||
69 | # aarch64 has no graphics | 55 | # aarch64 has no graphics |
70 | DEFAULT_TEST_SUITES_remove_aarch64 = "xorg" | 56 | DEFAULT_TEST_SUITES_remove_aarch64 = "xorg" |