diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-12-03 01:48:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-07 10:36:12 +0000 |
commit | 3bca4d18c2712e3b154bacfb917f0a749ebaddeb (patch) | |
tree | 35ea231d919b58ea6087cec4ecfbdd71af72d2bc /meta/lib | |
parent | a718c845b5274858eff297eacf5a3a02cd5c0ae8 (diff) | |
download | openembedded-core-3bca4d18c2712e3b154bacfb917f0a749ebaddeb.tar.gz openembedded-core-3bca4d18c2712e3b154bacfb917f0a749ebaddeb.tar.bz2 openembedded-core-3bca4d18c2712e3b154bacfb917f0a749ebaddeb.zip |
selftest: wic: fix test_qemu
Setting WKS_FILE variable in qemux86-64 made wic test to
use wrong wks file to produce an image and resulted in
test_qemu failure.
Used conditional assignment in qemux86-64 and explicitly
set WKS_FILE in wic testing suite to make the suite to use
wic-image-minimal.wsk. This should fix test_qemu failure.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index faac11e216..e652fad24a 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py @@ -42,7 +42,8 @@ class Wic(oeSelfTest): def setUpLocal(self): """This code is executed before each test method.""" self.write_config('IMAGE_FSTYPES += " hddimg"\n' - 'MACHINE_FEATURES_append = " efi"\n') + 'MACHINE_FEATURES_append = " efi"\n' + 'WKS_FILE = "wic-image-minimal"\n') # Do this here instead of in setUpClass as the base setUp does some # clean up which can result in the native tools built earlier in |