diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2017-01-23 09:01:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-26 10:44:27 +0000 |
commit | a02f7f2a33a4bf4038ab3a66893981a8ebaa5a9f (patch) | |
tree | 02aa4351ce5d68081f7a412e056cfbe85642b182 /meta/classes | |
parent | 06272333acb1e14996232aea4692ab9f0abcd07f (diff) | |
download | poky-a02f7f2a33a4bf4038ab3a66893981a8ebaa5a9f.tar.gz |
testimage.bbclass: Add systemd test automatically
This adds systemd test automatically when an image
is build with systemd DISTRO_FEATURE
[YOCTO #10935]
(From OE-Core rev: 2e6ba167bee7c7b42b1e0e96eb5a7be2eb0fd2c0)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/testimage.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 96e41c6c87..73a5c1a3be 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -36,8 +36,9 @@ TEST_EXTRACTED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/extracted" | |||
36 | TEST_PACKAGED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/packaged" | 36 | TEST_PACKAGED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/packaged" |
37 | 37 | ||
38 | RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" | 38 | RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" |
39 | SYSTEMDSUITE = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
39 | MINTESTSUITE = "ping" | 40 | MINTESTSUITE = "ping" |
40 | NETTESTSUITE = "${MINTESTSUITE} ssh df date scp syslog" | 41 | NETTESTSUITE = "${MINTESTSUITE} ssh df date scp syslog ${SYSTEMDSUITE}" |
41 | DEVTESTSUITE = "gcc kernelmodule ldd" | 42 | DEVTESTSUITE = "gcc kernelmodule ldd" |
42 | 43 | ||
43 | DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto" | 44 | DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto" |