[PATCH 4/7] oeqa/selftest: skip test_incremental_image_generation if not using rpm

Paul Eggleton
2014-12-23T16:10:07Z

We have just implemented incremental ipk image generation, but at the
moment this test doesn't support that, so skip it if not using rpm.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
meta/lib/oeqa/selftest/buildoptions.py | 3 +++
1 file changed, 3 insertions(+)

diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py
index a250cae..381741e 100644
--- a/meta/lib/oeqa/selftest/buildoptions.py
+++ b/meta/lib/oeqa/selftest/buildoptions.py
@@ -13,6 +13,9 @@ class ImageOptionsTests(oeSelfTest):

@testcase(761)
def test_incremental_image_generation(self):
+ image_pkgtype = get_bb_var("IMAGE_PKGTYPE")
+ if image_pkgtype != 'rpm':
+ self.skipTest('Not using RPM as main package format')
bitbake("-c cleanall core-image-minimal")
self.write_config('INC_RPM_IMAGE_GEN = "1"')
self.append_config('IMAGE_FEATURES += "ssh-server-openssh"')
--
1.9.3