[oe-commits] Paul Eggleton : oeqa/selftest: skip test_incremental_image_generation if not using rpm
git at git.openembedded.org
git at git.openembedded.org
Thu Dec 25 08:29:03 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: e920c1a62705524be71dc5f9e4527b396ca83dca
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e920c1a62705524be71dc5f9e4527b396ca83dca
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Tue Dec 23 15:17:48 2014 +0000
oeqa/selftest: skip test_incremental_image_generation if not using rpm
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 at 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"')
More information about the Openembedded-commits
mailing list