summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-23 12:13:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-27 22:42:50 +0100
commit98c2bdbd558db289e30a175f9a5b1a3d2be0fa98 (patch)
tree44cb282295642409e87f7e58deb6c7695b6aba29 /meta/classes
parente6f29dd7124637bd8d8c4ed41933534c9db9e8ea (diff)
downloadpoky-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/classes')
-rw-r--r--meta/classes/testimage.bbclass6
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
35DEFAULT_TEST_SUITES = "ping auto" 35DEFAULT_TEST_SUITES = "ping auto"
36DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" 36DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping"
37DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date rpm smart dmesg python parselogs" 37DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs \
38DEFAULT_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)}"
39DEFAULT_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)}"
39DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" 41DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto"
40TEST_SUITES ?= "${DEFAULT_TEST_SUITES}" 42TEST_SUITES ?= "${DEFAULT_TEST_SUITES}"
41 43