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:50 +0100 |
commit | 8b18568591f66aa9770798bc61123898de92b8a9 (patch) | |
tree | 3dc47580beb9c4e4a3d6936d467847df77775568 | |
parent | b8eef88536b944ea35664b9a6a9496fb0a3f7988 (diff) | |
download | openembedded-core-8b18568591f66aa9770798bc61123898de92b8a9.tar.gz openembedded-core-8b18568591f66aa9770798bc61123898de92b8a9.tar.bz2 openembedded-core-8b18568591f66aa9770798bc61123898de92b8a9.zip |
wic: selftest: add test for sdimage-bootpart
Test creation of sdimage-bootpart image
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \ % image).status) self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image))) + + def test_sdimage_bootpart(self): + """Test creation of sdimage-bootpart image""" + image = "sdimage-bootpart" + self.write_config('IMAGE_BOOT_FILES = "bzImage"\n') + self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \ + % image).status) + self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image))) |