diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 12:13:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-27 22:42:50 +0100 |
commit | 98c2bdbd558db289e30a175f9a5b1a3d2be0fa98 (patch) | |
tree | 44cb282295642409e87f7e58deb6c7695b6aba29 /meta | |
parent | e6f29dd7124637bd8d8c4ed41933534c9db9e8ea (diff) | |
download | poky-98c2bdbd558db289e30a175f9a5b1a3d2be0fa98.tar.gz |
testimage: Handle ipk/deb packaging format tests correctly
The default test list only works for rpm packaging. This fixes it for
deb and ipk too.
(From OE-Core rev: 210c8926405fcf695ec00f5768f29ba198320d6a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/testimage.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 4074ff7c4e..ddacd1fa4d 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -34,8 +34,10 @@ TEST_EXPORT_ONLY ?= "0" | |||
34 | 34 | ||
35 | DEFAULT_TEST_SUITES = "ping auto" | 35 | DEFAULT_TEST_SUITES = "ping auto" |
36 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" | 36 | 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 rpm smart dmesg python parselogs" | 37 | DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs \ |
38 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc rpm smart kernelmodule dmesg python parselogs" | 38 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python smart rpm', '', 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 \ | ||
40 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" | ||
39 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" | 41 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" |
40 | TEST_SUITES ?= "${DEFAULT_TEST_SUITES}" | 42 | TEST_SUITES ?= "${DEFAULT_TEST_SUITES}" |
41 | 43 | ||