diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-12-23 15:17:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-25 08:27:12 +0000 |
commit | 41f3dd1d330ec93765c7264383961b42135ffb8a (patch) | |
tree | 8be07e8287e3b4a42f726264ce5764b054472e6d /meta/lib/oeqa | |
parent | 8bb5dccedb702db8633d4fc9d32248fad6dd2212 (diff) | |
download | poky-41f3dd1d330ec93765c7264383961b42135ffb8a.tar.gz |
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.
(From OE-Core rev: e920c1a62705524be71dc5f9e4527b396ca83dca)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/buildoptions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index a250cae0e1..381741ef0d 100644 --- a/meta/lib/oeqa/selftest/buildoptions.py +++ b/meta/lib/oeqa/selftest/buildoptions.py | |||
@@ -13,6 +13,9 @@ class ImageOptionsTests(oeSelfTest): | |||
13 | 13 | ||
14 | @testcase(761) | 14 | @testcase(761) |
15 | def test_incremental_image_generation(self): | 15 | def test_incremental_image_generation(self): |
16 | image_pkgtype = get_bb_var("IMAGE_PKGTYPE") | ||
17 | if image_pkgtype != 'rpm': | ||
18 | self.skipTest('Not using RPM as main package format') | ||
16 | bitbake("-c cleanall core-image-minimal") | 19 | bitbake("-c cleanall core-image-minimal") |
17 | self.write_config('INC_RPM_IMAGE_GEN = "1"') | 20 | self.write_config('INC_RPM_IMAGE_GEN = "1"') |
18 | self.append_config('IMAGE_FEATURES += "ssh-server-openssh"') | 21 | self.append_config('IMAGE_FEATURES += "ssh-server-openssh"') |