summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-06-05 10:17:15 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-11 23:55:40 +0100
commit16e7d43cd4a4d16e498152764a8dbc8b933eef89 (patch)
tree605a703447984994d27bed8e6b508839426d30de
parentb7ae24c9ee52cf1e7eed8cc7e2c081cda7147376 (diff)
downloadopenembedded-core-16e7d43cd4a4d16e498152764a8dbc8b933eef89.tar.gz
openembedded-core-16e7d43cd4a4d16e498152764a8dbc8b933eef89.tar.bz2
openembedded-core-16e7d43cd4a4d16e498152764a8dbc8b933eef89.zip
wic: oe-selftest: Configure testing of gpt/UUID image
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@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/lib/oeqa/selftest/wic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index e97dd1dae0..358f09e72f 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")))