All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [wic][PATCH v2 8/9] wic: oe-selftest: Configure testing of gpt/UUID image
Date: Fri,  5 Jun 2015 10:17:15 +0300	[thread overview]
Message-ID: <1433488636-4540-9-git-send-email-ed.bartosh@linux.intel.com> (raw)
In-Reply-To: <1433488636-4540-1-git-send-email-ed.bartosh@linux.intel.com>

Added runtime dependency to gptfdisk-native to wic test suite to
be able to test modified directdisk-gpt with UUID support.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>

diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index e97dd1d..358f09e 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -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")))
-- 
2.1.4



  parent reply	other threads:[~2015-06-05  9:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-05  7:17 [wic][PATCH v2 0/9] UUID support Ed Bartosh
2015-06-05  7:17 ` [wic][PATCH v2 1/9] wic: Add --use-uuid partition option Ed Bartosh
2015-06-05  7:17 ` [wic][PATCH v2 2/9] wic: Generate random uuid for partition Ed Bartosh
2015-06-05  7:17 ` [wic][PATCH v2 3/9] wic: Fix format string Ed Bartosh
2015-06-05  7:17 ` [wic][PATCH v2 4/9] wic: Refactored getting root device name Ed Bartosh
2015-06-05  7:17 ` [wic][PATCH v2 5/9] wic: Add parameter 'uuid' to Image.add_partition method Ed Bartosh
2015-06-05  7:17 ` [wic][PATCH v2 6/9] wic: Set type GUID and UUID for partition Ed Bartosh
2015-06-05  7:17 ` [wic][PATCH v2 7/9] wic: Use partition UUID in directdisk-gpt Ed Bartosh
2015-06-05  7:17 ` Ed Bartosh [this message]
2015-06-05  7:17 ` [wic][PATCH v2 9/9] wic: Add help for --part-type and --use-uuid options Ed Bartosh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433488636-4540-9-git-send-email-ed.bartosh@linux.intel.com \
    --to=ed.bartosh@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.