mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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. (From OE-Core rev: 16e7d43cd4a4d16e498152764a8dbc8b933eef89) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b71f4d0dd0
commit
998273aee2
@@ -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")))
|
||||
|
||||
Reference in New Issue
Block a user