summaryrefslogtreecommitdiffstats
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-11 23:24:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-12 22:48:48 +0100
commit58ef81c5cc0c6a42f3ede1b79d80ec2d4563bd94 (patch)
treee9b3eff643394f283dac84f18a80e025d8f6f691 /meta/classes/testimage.bbclass
parentba17ce3f20b30887e0b54e9ec99565ec9a18d912 (diff)
downloadpoky-58ef81c5cc0c6a42f3ede1b79d80ec2d4563bd94.tar.gz
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. (From OE-Core rev: cf03765705c6cd26c1a904b62b9aca8f914f44aa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r--meta/classes/testimage.bbclass13
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"
32TEST_EXPORT_DIR ?= "${TMPDIR}/testimage/${PN}" 32TEST_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)}"
36
35DEFAULT_TEST_SUITES = "ping auto" 37DEFAULT_TEST_SUITES = "ping auto"
36DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" 38DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping"
37DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs \ 39DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs ${RPMTESTSUITE} \
38 ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python smart rpm', '', d)}" 40 ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)}"
39DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python parselogs \ 41DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python parselogs ${RPMTESTSUITE}"
40 ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" 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"
41DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" 43DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto"
42 44
43# aarch64 has no graphics 45# aarch64 has no graphics
44DEFAULT_TEST_SUITES_remove_aarch64 = "xorg vnc" 46DEFAULT_TEST_SUITES_remove_aarch64 = "xorg vnc"
45 47
48#qemumips is too slow for buildsudoku
49DEFAULT_TEST_SUITES_remove_qemumips = "buildsudoku"
50
46TEST_SUITES ?= "${DEFAULT_TEST_SUITES}" 51TEST_SUITES ?= "${DEFAULT_TEST_SUITES}"
47 52
48TEST_QEMUBOOT_TIMEOUT ?= "1000" 53TEST_QEMUBOOT_TIMEOUT ?= "1000"