summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest
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:59:12 +0100
commit998273aee2c63726f5acfca7c1a2b89f82f93c6f (patch)
tree2d73bb81c01ef461bb609145d8d8de0ba9b05e08 /meta/lib/oeqa/selftest
parentb71f4d0dd0eae7167444777deb616ab19b43e919 (diff)
downloadpoky-998273aee2c63726f5acfca7c1a2b89f82f93c6f.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-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):
39 @classmethod 39 @classmethod
40 def setUpClass(cls): 40 def setUpClass(cls):
41 """Build wic runtime dependencies and images used in the tests.""" 41 """Build wic runtime dependencies and images used in the tests."""
42 bitbake('syslinux syslinux-native parted-native ' 42 bitbake('syslinux syslinux-native parted-native gptfdisk-native '
43 'dosfstools-native mtools-native core-image-minimal') 43 'dosfstools-native mtools-native core-image-minimal')
44 44
45 def setUp(self): 45 def setUp(self):
@@ -75,7 +75,7 @@ class Wic(oeSelfTest):
75 self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct"))) 75 self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
76 76
77 def test06_gpt_image(self): 77 def test06_gpt_image(self):
78 """Test creation of core-image-minimal with gpt table""" 78 """Test creation of core-image-minimal with gpt table and UUID boot"""
79 self.assertEqual(0, runCmd("wic create directdisk-gpt " 79 self.assertEqual(0, runCmd("wic create directdisk-gpt "
80 "--image-name core-image-minimal").status) 80 "--image-name core-image-minimal").status)
81 self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct"))) 81 self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))