summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-01-18 19:21:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 12:05:18 +0000
commit657f1e44b12cd91913b8bf3a6108bf1c62592b83 (patch)
tree6e56983bac7d9c9ce641ac9ed70c8d62422cdaf6 /meta/lib/oeqa
parent349dbad11df9cb793543d22b38234d38cb5a3ea3 (diff)
downloadpoky-657f1e44b12cd91913b8bf3a6108bf1c62592b83.tar.gz
wic: fixed test_iso_image test case
Fixed isoimage-isohybrid plulgin and correspondent wic tet case: - used wic-tools target when getting varlue of STAGING_LIBDIR variable - ensured that image is built with efi and hddimg enabled (From OE-Core rev: 5878484da64c38c7fde45bb06d76e22e608eb022) Signed-off-by: Ed Bartosh <ed.bartosh@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/wic.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 6a61ba6868..14109c4b5a 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -149,6 +149,10 @@ class Wic(oeSelfTest):
149 @testcase(1346) 149 @testcase(1346)
150 def test_iso_image(self): 150 def test_iso_image(self):
151 """Test creation of hybrid iso image with legacy and EFI boot""" 151 """Test creation of hybrid iso image with legacy and EFI boot"""
152 config = 'IMAGE_FSTYPES += " hddimg "\nMACHINE_FEATURES_append = " efi"\n'
153 self.append_config(config)
154 bitbake('core-image-minimal')
155 self.remove_config(config)
152 cmd = "wic create mkhybridiso --image-name core-image-minimal" 156 cmd = "wic create mkhybridiso --image-name core-image-minimal"
153 self.assertEqual(0, runCmd(cmd).status) 157 self.assertEqual(0, runCmd(cmd).status)
154 self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.direct"))) 158 self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.direct")))