summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2018-01-04 14:13:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-05 11:55:35 +0000
commit9b32b8516a111107a98a844afba1a0bb5fcda3fe (patch)
treed52bdb2d8cebdb38ff2b8524d22ccfbd07d69b55 /meta
parent8288a832e111d5595bbf24bc44fd32516ebd0546 (diff)
downloadpoky-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.bbclass12
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"
44DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto" 44DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto"
45DEFAULT_TEST_SUITES_pn-core-image-minimal = "${MINTESTSUITE}" 45DEFAULT_TEST_SUITES_pn-core-image-minimal = "${MINTESTSUITE}"
46DEFAULT_TEST_SUITES_pn-core-image-minimal-dev = "${MINTESTSUITE}" 46DEFAULT_TEST_SUITES_pn-core-image-minimal-dev = "${MINTESTSUITE}"
47DEFAULT_TEST_SUITES_pn-core-image-full-cmdline = "${NETTESTSUITE} perl python logrotate" 47DEFAULT_TEST_SUITES_pn-core-image-full-cmdline = "${NETTESTSUITE} perl python logrotate ptest"
48DEFAULT_TEST_SUITES_pn-core-image-x11 = "${MINTESTSUITE}" 48DEFAULT_TEST_SUITES_pn-core-image-x11 = "${MINTESTSUITE}"
49DEFAULT_TEST_SUITES_pn-core-image-lsb = "${NETTESTSUITE} pam parselogs ${RPMTESTSUITE}" 49DEFAULT_TEST_SUITES_pn-core-image-lsb = "${NETTESTSUITE} pam parselogs ${RPMTESTSUITE} ptest"
50DEFAULT_TEST_SUITES_pn-core-image-sato = "${NETTESTSUITE} connman xorg parselogs ${RPMTESTSUITE} \ 50DEFAULT_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"
52DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \ 52DEFAULT_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"
54DEFAULT_TEST_SUITES_pn-core-image-lsb-dev = "${NETTESTSUITE} pam perl python parselogs ${RPMTESTSUITE}" 54DEFAULT_TEST_SUITES_pn-core-image-lsb-dev = "${NETTESTSUITE} pam perl python parselogs ${RPMTESTSUITE} ptest"
55DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "${NETTESTSUITE} buildcpio buildlzip buildgalculator \ 55DEFAULT_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"
57DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" 57DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto"
58 58
59# aarch64 has no graphics 59# aarch64 has no graphics