Openembedded Core Discussions
 help / color / mirror / Atom feed
* [wic][PATCH 0/2] added 2 new test cases
@ 2016-10-06 11:53 Ed Bartosh
  2016-10-06 11:53 ` [wic][PATCH 1/2] wic: selftest: add test for systemd-bootdisk Ed Bartosh
  2016-10-06 11:53 ` [wic][PATCH 2/2] wic: selftest: add test for sdimage-bootpart Ed Bartosh
  0 siblings, 2 replies; 3+ messages in thread
From: Ed Bartosh @ 2016-10-06 11:53 UTC (permalink / raw)
  To: openembedded-core

Hi,

2 new test cases for oe-selftest wic test suite:
  test image creation for systemd-bootdisk.wks
  test image creation for sdimage-bootpart.wks

The following changes since commit f12825d4bf7091576856650123c7d7614b9089af:

  scripts: Rename 'native' to 'oe-run-native' (2016-10-06 07:53:51 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ed/wic/add-2new-tests
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wic/add-2new-tests

Ed Bartosh (2):
  wic: selftest: add test for systemd-bootdisk
  wic: selftest: add test for sdimage-bootpart

 meta/lib/oeqa/selftest/wic.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

--
Regards,
Ed


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [wic][PATCH 1/2] wic: selftest: add test for systemd-bootdisk
  2016-10-06 11:53 [wic][PATCH 0/2] added 2 new test cases Ed Bartosh
@ 2016-10-06 11:53 ` Ed Bartosh
  2016-10-06 11:53 ` [wic][PATCH 2/2] wic: selftest: add test for sdimage-bootpart Ed Bartosh
  1 sibling, 0 replies; 3+ messages in thread
From: Ed Bartosh @ 2016-10-06 11:53 UTC (permalink / raw)
  To: openembedded-core

Test creation of systemd-bootdisk image.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
 meta/lib/oeqa/selftest/wic.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index e550785..bf1a860 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -284,3 +284,10 @@ class Wic(oeSelfTest):
         self.assertEqual(0, status)
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct.bmap" % image)))
+
+    def test_systemd_bootdisk(self):
+        """Test creation of systemd-bootdisk image"""
+        image = "systemd-bootdisk"
+        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
+                                   % image).status)
+        self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [wic][PATCH 2/2] wic: selftest: add test for sdimage-bootpart
  2016-10-06 11:53 [wic][PATCH 0/2] added 2 new test cases Ed Bartosh
  2016-10-06 11:53 ` [wic][PATCH 1/2] wic: selftest: add test for systemd-bootdisk Ed Bartosh
@ 2016-10-06 11:53 ` Ed Bartosh
  1 sibling, 0 replies; 3+ messages in thread
From: Ed Bartosh @ 2016-10-06 11:53 UTC (permalink / raw)
  To: openembedded-core

Test creation of sdimage-bootpart image

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
 meta/lib/oeqa/selftest/wic.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index bf1a860..faac11e 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)))
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-06 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06 11:53 [wic][PATCH 0/2] added 2 new test cases Ed Bartosh
2016-10-06 11:53 ` [wic][PATCH 1/2] wic: selftest: add test for systemd-bootdisk Ed Bartosh
2016-10-06 11:53 ` [wic][PATCH 2/2] wic: selftest: add test for sdimage-bootpart Ed Bartosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox