testimage.bbclass: Add systemd test automatically
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 testimage.bbclass: Add systemd test automatically
From: Mariano Lopez <[email protected]>
This adds systemd test automatically when an image is build with systemd DISTRO_FEATURE
[YOCTO #10935]
Signed-off-by Mariano Lopez <[email protected]>
--- meta/classes/testimage.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/testimage.bbclass +2 -1
@@ -36,8 +36,9 @@ TEST_EXTRACTED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/extracted" TEST_PACKAGED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/packaged" RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" +SYSTEMDSUITE = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" MINTESTSUITE = "ping" -NETTESTSUITE = "${MINTESTSUITE} ssh df date scp syslog" +NETTESTSUITE = "${MINTESTSUITE} ssh df date scp syslog ${SYSTEMDSUITE}" DEVTESTSUITE = "gcc kernelmodule ldd" DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto"
Signature · 1 line
2.6.6