All of lore.kernel.org
 help / color / mirror / Atom feed
From: mariano.lopez@linux.intel.com
To: openembedded-core@lists.openembedded.org
Subject: [PATCHv2 2/5] runtime/cases/smart.py: Check for IMAGE_PKGTYPE instead of PACKAGE_CLASSES
Date: Fri, 27 Jan 2017 12:10:39 +0000	[thread overview]
Message-ID: <c8370b89a78a109a501e7a546c56e281c4f959d1.1485515181.git.mariano.lopez@linux.intel.com> (raw)
In-Reply-To: <cover.1485515180.git.mariano.lopez@linux.intel.com>
In-Reply-To: <cover.1485515180.git.mariano.lopez@linux.intel.com>

From: Mariano Lopez <mariano.lopez@linux.intel.com>

smart test requires to build the image using rpm packages, this check was
included, but it checked for PACKAGE_CLASSES=='package_rpm', and this is
not true when building packages for rpm and deb/ipk. So this would check
IMAGE_PKGTYPE instead.

[YOCTO #10964]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
---
 meta/lib/oeqa/runtime/cases/smart.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/runtime/cases/smart.py b/meta/lib/oeqa/runtime/cases/smart.py
index 9b4d0d2..79bd9c8 100644
--- a/meta/lib/oeqa/runtime/cases/smart.py
+++ b/meta/lib/oeqa/runtime/cases/smart.py
@@ -23,7 +23,7 @@ class SmartBasicTest(SmartTest):
 
     @skipIfNotFeature('package-management',
                       'Test requires package-management to be in IMAGE_FEATURES')
-    @skipIfNotDataVar('PACKAGE_CLASSES', 'package_rpm',
+    @skipIfNotDataVar('IMAGE_PKGTYPE', 'rpm',
                       'RPM is not the primary package manager')
     @OEHasPackage(['smartpm'])
     @OETestID(716)
-- 
2.6.6



  parent reply	other threads:[~2017-01-27 20:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-27 12:10 [PATCHv2 0/5] Fix bugs found within runtime testing mariano.lopez
2017-01-27 12:10 ` [PATCHv2 1/5] runtime/cases: Fix case numbers, missing cases and unused classes mariano.lopez
2017-01-27 12:10 ` mariano.lopez [this message]
2017-01-27 12:10 ` [PATCHv2 3/5] testimage.bbclass: Allow to run tests on autobuilder's images mariano.lopez
2017-01-27 12:10 ` [PATCHv2 4/5] oeqa/core/context.py: Add validation for run-tests option mariano.lopez
2017-01-27 12:10 ` [PATCHv2 5/5] oeqa/runtime/cases: Rename syslog module to oe_syslog mariano.lopez
2017-01-27 20:23 ` ✗ patchtest: failure for Fix bugs found within runtime testing (rev2) Patchwork
     [not found] ` <cover.1485763510.git.mariano.lopez@linux.intel.com>
2017-01-30  8:08   ` [PATCHv3 1/5] runtime/cases: Fix case numbers, missing cases and unused classes mariano.lopez
2017-01-30  8:08   ` [PATCHv3 2/5] runtime/cases/smart.py: Check for IMAGE_PKGTYPE instead of PACKAGE_CLASSES mariano.lopez
2017-01-30  8:08   ` [PATCHv3 3/5] testimage.bbclass: Allow to run tests on autobuilder's images mariano.lopez
2017-01-30  8:08   ` [PATCHv3 4/5] oeqa/core/context.py: Add validation for run-tests option mariano.lopez
2017-01-30  8:08   ` [PATCHv3 5/5] oeqa/runtime/cases: Rename syslog module to oe_syslog mariano.lopez

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=c8370b89a78a109a501e7a546c56e281c4f959d1.1485515181.git.mariano.lopez@linux.intel.com \
    --to=mariano.lopez@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.