Skip to contentSkip to conversation

core-image-kernel-dev: Define a correct subset of TEST_SUITES to run for this image

PATCH In review Saul Wold 2 participants 2 messages Jun 30, 2015 – Jul 1, 2015

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 core-image-kernel-dev: Define a correct subset of TEST_SUITES to run for this image

Since this is image can be built with both poky and poky-lsb, ensure the correct tests are run in both cases, the auto detection does not quite work right in the poky-lsb case since not all the Posix cmdline utilites are added. Add connman and connman test for network sanity

---
 meta/recipes-extended/images/core-image-kernel-dev.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-extended/images/core-image-kernel-dev.bb +4 -1
index e1aa71a..6b636ed 100644
@@ -4,7 +4,7 @@ sensitive to kernel updates and version changes"
 # Could also be core-image-basic, but we'll keep this small for now
 require recipes-core/images/core-image-minimal.bb
 
-KERNEL_DEV_UTILS ?= "dropbear"
+KERNEL_DEV_UTILS ?= "dropbear connman"
 KERNEL_DEV_TOOLS ?= "packagegroup-core-tools-profile packagegroup-core-buildessential kernel-devsrc"
 KERNEL_DEV_MODULE ?= "kernel-modules"
 
@@ -15,3 +15,6 @@ CORE_IMAGE_EXTRA_INSTALL += "${KERNEL_DEV_MODULE} \
 
 # We need extra space for things like kernel builds, etc.
 IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 3000000"
+
+# Let's define our own subset to test, we can later add a on-target kernel build even!
+DEFAULT_TEST_SUITES = "ping ssh df connman syslog scp date dmesg parselogs"
Signature · 1 line
2.1.0
Acked-by on v1 1/1
#1 lore raw
Quoted 1 line · Saul Wold

Since this is image can be built with both poky and poky-lsb, ensure the correct

s/is//

Quoted 5 lines

tests are run in both cases, the auto detection does not quite work right in the poky-lsb case since not all the Posix cmdline utilites are added. Add connman and connman test for network sanity

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center