summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/wic.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/wic.py')
-rw-r--r--meta/lib/oeqa/selftest/wic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 3829de2f1c..56ce8c83de 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -50,7 +50,7 @@ class Wic(oeSelfTest):
50 if not Wic.image_is_ready: 50 if not Wic.image_is_ready:
51 bitbake('syslinux syslinux-native parted-native gptfdisk-native ' 51 bitbake('syslinux syslinux-native parted-native gptfdisk-native '
52 'dosfstools-native mtools-native') 52 'dosfstools-native mtools-native')
53 bitbake('core-image-minimal -c do_rootfs_wicenv') 53 bitbake('core-image-minimal')
54 Wic.image_is_ready = True 54 Wic.image_is_ready = True
55 55
56 rmtree(self.resultdir, ignore_errors=True) 56 rmtree(self.resultdir, ignore_errors=True)
@@ -199,6 +199,7 @@ class Wic(oeSelfTest):
199 def test_image_env(self): 199 def test_image_env(self):
200 """Test generation of <image>.env files.""" 200 """Test generation of <image>.env files."""
201 image = 'core-image-minimal' 201 image = 'core-image-minimal'
202 self.assertEqual(0, bitbake('%s -c do_rootfs_wicenv' % image).status)
202 stdir = get_bb_var('STAGING_DIR_TARGET', image) 203 stdir = get_bb_var('STAGING_DIR_TARGET', image)
203 imgdatadir = os.path.join(stdir, 'imgdata') 204 imgdatadir = os.path.join(stdir, 'imgdata')
204 205