diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-10-02 16:03:17 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-03 00:01:13 +0100 |
commit | 037b757722093ced372eaae8cc9305ad2ea81ab5 (patch) | |
tree | 13a1257b9f999a4b6f40c03aacbe9a7e50bdd788 /meta/lib | |
parent | 6545e402d6411dbd16eae7049a76d47e9a8f996d (diff) | |
download | openembedded-core-037b757722093ced372eaae8cc9305ad2ea81ab5.tar.gz openembedded-core-037b757722093ced372eaae8cc9305ad2ea81ab5.tar.bz2 openembedded-core-037b757722093ced372eaae8cc9305ad2ea81ab5.zip |
oe-selftest: wic: fix LocalSetup
Appended required features to build config every time
LocalSetup is run to ensure that core-image-minimal is not
rebuilt due to configuration changes.
This should fix test22_mkgummidisk and test23_mkefidisk testcases as
they depend on specific features set in LocalSetup.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 0a35935aac..7625505463 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py @@ -48,10 +48,10 @@ class Wic(oeSelfTest): def setUpLocal(self): """This code is executed before each test method.""" + features = 'IMAGE_FSTYPES += " hddimg"\nMACHINE_FEATURES_append = " efi"\n' + self.append_config(features) if not Wic.image_is_ready: # build core-image-minimal with required features - features = 'IMAGE_FSTYPES += " hddimg"\nMACHINE_FEATURES_append = " efi"\n' - self.append_config(features) bitbake('core-image-minimal') # set this class variable to avoid buiding image many times Wic.image_is_ready = True |