summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2017-01-25 12:20:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-31 14:43:01 +0000
commite8935e20d6e80435d23fe0aa0b969087461e1a74 (patch)
treef9649dd0350c47e0c3c41e8c38a9d2c63138bdfb /meta/lib/oeqa
parent45ef4ef2c4de59e050cce2dc195f2f5b243eac86 (diff)
downloadpoky-e8935e20d6e80435d23fe0aa0b969087461e1a74.tar.gz
runtime/cases/smart.py: Check for IMAGE_PKGTYPE instead of PACKAGE_CLASSES
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] (From OE-Core rev: 570f50b30072a10c5eadfbbfea2647339ee85176) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/runtime/cases/smart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/smart.py b/meta/lib/oeqa/runtime/cases/smart.py
index 9b4d0d2c60..79bd9c8af7 100644
--- a/meta/lib/oeqa/runtime/cases/smart.py
+++ b/meta/lib/oeqa/runtime/cases/smart.py
@@ -23,7 +23,7 @@ class SmartBasicTest(SmartTest):
23 23
24 @skipIfNotFeature('package-management', 24 @skipIfNotFeature('package-management',
25 'Test requires package-management to be in IMAGE_FEATURES') 25 'Test requires package-management to be in IMAGE_FEATURES')
26 @skipIfNotDataVar('PACKAGE_CLASSES', 'package_rpm', 26 @skipIfNotDataVar('IMAGE_PKGTYPE', 'rpm',
27 'RPM is not the primary package manager') 27 'RPM is not the primary package manager')
28 @OEHasPackage(['smartpm']) 28 @OEHasPackage(['smartpm'])
29 @OETestID(716) 29 @OETestID(716)