diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-11 23:24:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-12 22:47:26 +0100 |
commit | cf03765705c6cd26c1a904b62b9aca8f914f44aa (patch) | |
tree | 494c322793778ae6a9fe1a758911b8d9b0f03a46 | |
parent | 2374bfa3b98f787f4559f14a60647e4c2b051274 (diff) | |
download | openembedded-core-cf03765705c6cd26c1a904b62b9aca8f914f44aa.tar.gz openembedded-core-cf03765705c6cd26c1a904b62b9aca8f914f44aa.tar.bz2 openembedded-core-cf03765705c6cd26c1a904b62b9aca8f914f44aa.zip |
testimage: Handle core-image-lsb-sdk qemumips test restriction
On qemumips, some tests are slow to the point of the autobuilder appearing
hung. We therefore specifically exclude buildsudoku but to do this, we need
to list the tests we expect to work on core-image-lsb-sdk.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/testimage.bbclass | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index d4263df323..a1918ba9ec 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -32,17 +32,22 @@ TEST_LOG_DIR ?= "${WORKDIR}/testimage" TEST_EXPORT_DIR ?= "${TMPDIR}/testimage/${PN}" TEST_EXPORT_ONLY ?= "0" +RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" + DEFAULT_TEST_SUITES = "ping auto" DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" -DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs \ - ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python smart rpm', '', d)}" -DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python parselogs \ - ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" +DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs ${RPMTESTSUITE} \ + ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)}" +DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python parselogs ${RPMTESTSUITE}" +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" DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" # aarch64 has no graphics DEFAULT_TEST_SUITES_remove_aarch64 = "xorg vnc" +#qemumips is too slow for buildsudoku +DEFAULT_TEST_SUITES_remove_qemumips = "buildsudoku" + TEST_SUITES ?= "${DEFAULT_TEST_SUITES}" TEST_QEMUBOOT_TIMEOUT ?= "1000" |