]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest: skip test_incremental_image_generation if not using rpm
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 23 Dec 2014 15:17:48 +0000 (15:17 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Dec 2014 08:26:01 +0000 (08:26 +0000)
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

index a250cae0e169da50a8142cf75f1635e0e16a6799..381741ef0d5b67b99cfd7fca5ee11b1645fd45b3 100644 (file)
@@ -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"')