Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alex Franco <alejandro.franco@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] testimage: add DEFAULT_TEST_SUITES for more images
Date: Wed, 17 Feb 2016 09:55:39 +0000	[thread overview]
Message-ID: <1455702940-5840-2-git-send-email-alejandro.franco@linux.intel.com> (raw)
In-Reply-To: <1455702940-5840-1-git-send-email-alejandro.franco@linux.intel.com>

Add these generic variables, to reuse test suite lists in more
specific default test suites variables for actual images:

DEFAULT_TEST_SUITES_minimal
DEFAULT_TEST_SUITES_network
DEFAULT_TEST_SUITES_dev

Add these default test suites variables:

DEFAULT_TEST_SUITES_pn-core-image-minimal-dev
DEFAULT_TEST_SUITES_pn-core-image-full-cmdline
DEFAULT_TEST_SUITES_pn-core-image-x11
DEFAULT_TEST_SUITES_pn-core-image-lsb

[YOCTO #8410]

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
---
 meta/classes/testimage.bbclass | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index eed27be..cce8cea 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -33,9 +33,17 @@ TEST_EXPORT_DIR ?= "${TMPDIR}/testimage/${PN}"
 TEST_EXPORT_ONLY ?= "0"
 
 RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}"
+MINTESTSUITE = "ping"
+NETTESTSUITE = "${MINTESTSUITE} ssh df date scp syslog"
+DEVTESTSUITE = "gcc kernelmodule ldd"
 
 DEFAULT_TEST_SUITES = "ping auto"
 DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping"
+DEFAULT_TEST_SUITES_pn-core-image-minimal-dev = "${MINTESTSUITE}"
+DEFAULT_TEST_SUITES_pn-core-image-full-cmdline = "${NETTESTSUITE} perl python logrotate"
+DEFAULT_TEST_SUITES_pn-core-image-x11 = "${MINTESTSUITE}"
+DEFAULT_TEST_SUITES_pn-core-image-lsb = "${NETTESTSUITE} buildcvs buildiptables buildsudoku \
+    connman pam parselogs ${RPMTESTSUITE}"
 DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp date parselogs ${RPMTESTSUITE} \
     ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)}"
 DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp date perl ldd gcc kernelmodule python parselogs ${RPMTESTSUITE}"
-- 
2.6.2



  reply	other threads:[~2016-02-17 17:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-17  9:55 [PATCH 0/2] testimage: add/modify DEFAULT_TEST_SUITES Alex Franco
2016-02-17  9:55 ` Alex Franco [this message]
2016-02-17  9:55 ` [PATCH 2/2] testimage: reuse generic test suites Alex Franco
2016-02-18 14:45 ` [PATCH 0/2] testimage: add/modify DEFAULT_TEST_SUITES Richard Purdie
2016-02-18 18:22   ` Alex Franco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455702940-5840-2-git-send-email-alejandro.franco@linux.intel.com \
    --to=alejandro.franco@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox