diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-10-06 14:53:17 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-07 16:43:58 +0100 |
commit | 09a9de45e1d715ca5897fefc7935392f20a7d519 (patch) | |
tree | 2f3cb622454d29bc05aafa2ebb711299cb21bc8c /meta | |
parent | bed4a13440d80244e56acd3be8a2a737f6db756d (diff) | |
download | poky-09a9de45e1d715ca5897fefc7935392f20a7d519.tar.gz |
wic: selftest: add test for sdimage-bootpart
Test creation of sdimage-bootpart image
(From OE-Core rev: 8b18568591f66aa9770798bc61123898de92b8a9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index bf1a860845..faac11e216 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
@@ -291,3 +291,11 @@ class Wic(oeSelfTest): | |||
291 | self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \ | 291 | self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \ |
292 | % image).status) | 292 | % image).status) |
293 | self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image))) | 293 | self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image))) |
294 | |||
295 | def test_sdimage_bootpart(self): | ||
296 | """Test creation of sdimage-bootpart image""" | ||
297 | image = "sdimage-bootpart" | ||
298 | self.write_config('IMAGE_BOOT_FILES = "bzImage"\n') | ||
299 | self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \ | ||
300 | % image).status) | ||
301 | self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image))) | ||