[OE-core] [wic][PATCH v2 8/9] wic: oe-selftest: Configure testing of gpt/UUID image
Ed Bartosh
ed.bartosh at linux.intel.com
Fri Jun 5 07:17:15 UTC 2015
Added runtime dependency to gptfdisk-native to wic test suite to
be able to test modified directdisk-gpt with UUID support.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index e97dd1d..358f09e 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -39,7 +39,7 @@ class Wic(oeSelfTest):
@classmethod
def setUpClass(cls):
"""Build wic runtime dependencies and images used in the tests."""
- bitbake('syslinux syslinux-native parted-native '
+ bitbake('syslinux syslinux-native parted-native gptfdisk-native '
'dosfstools-native mtools-native core-image-minimal')
def setUp(self):
@@ -75,7 +75,7 @@ class Wic(oeSelfTest):
self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
def test06_gpt_image(self):
- """Test creation of core-image-minimal with gpt table"""
+ """Test creation of core-image-minimal with gpt table and UUID boot"""
self.assertEqual(0, runCmd("wic create directdisk-gpt "
"--image-name core-image-minimal").status)
self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
--
2.1.4
More information about the Openembedded-core
mailing list