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:48:48 +0100 |
commit | 58ef81c5cc0c6a42f3ede1b79d80ec2d4563bd94 (patch) | |
tree | e9b3eff643394f283dac84f18a80e025d8f6f691 /meta/classes | |
parent | ba17ce3f20b30887e0b54e9ec99565ec9a18d912 (diff) | |
download | poky-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')
-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" | |||
32 | TEST_EXPORT_DIR ?= "${TMPDIR}/testimage/${PN}" | 32 | TEST_EXPORT_DIR ?= "${TMPDIR}/testimage/${PN}" |
33 | TEST_EXPORT_ONLY ?= "0" | 33 | TEST_EXPORT_ONLY ?= "0" |
34 | 34 | ||
35 | RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" | ||
36 | |||
35 | DEFAULT_TEST_SUITES = "ping auto" | 37 | DEFAULT_TEST_SUITES = "ping auto" |
36 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" | 38 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" |
37 | DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs \ | 39 | DEFAULT_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)}" |
39 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python parselogs \ | 41 | 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}" |
40 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" | 42 | 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" |
41 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" | 43 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" |
42 | 44 | ||
43 | # aarch64 has no graphics | 45 | # aarch64 has no graphics |
44 | DEFAULT_TEST_SUITES_remove_aarch64 = "xorg vnc" | 46 | DEFAULT_TEST_SUITES_remove_aarch64 = "xorg vnc" |
45 | 47 | ||
48 | #qemumips is too slow for buildsudoku | ||
49 | DEFAULT_TEST_SUITES_remove_qemumips = "buildsudoku" | ||
50 | |||
46 | TEST_SUITES ?= "${DEFAULT_TEST_SUITES}" | 51 | TEST_SUITES ?= "${DEFAULT_TEST_SUITES}" |
47 | 52 | ||
48 | TEST_QEMUBOOT_TIMEOUT ?= "1000" | 53 | TEST_QEMUBOOT_TIMEOUT ?= "1000" |