All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ross Burton <ross.burton@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] oeqa/runtime/multilib: change test case to use glib-2.0-utils
Date: Sat, 29 Aug 2015 00:43:17 +0100	[thread overview]
Message-ID: <1440805397-3775-2-git-send-email-ross.burton@intel.com> (raw)
In-Reply-To: <1440805397-3775-1-git-send-email-ross.burton@intel.com>

Using connman-applet as a multilib test case seems quite heavy due to the
numerous dependencies it has, whereas the same test ("do binaries get swapped
correctly") can be done with a lower-level library containing binaries, for
example glib-2.0.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/lib/oeqa/runtime/multilib.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/lib/oeqa/runtime/multilib.py b/meta/lib/oeqa/runtime/multilib.py
index e1bcc42..59ae86d 100644
--- a/meta/lib/oeqa/runtime/multilib.py
+++ b/meta/lib/oeqa/runtime/multilib.py
@@ -39,10 +39,10 @@ class MultilibTest(oeRuntimeTest):
 
     @testcase('279')
     @skipUnlessPassed('test_check_multilib_libc')
-    def test_file_connman(self):
-        self.assertTrue(oeRuntimeTest.hasPackage('lib32-connman-gnome'), msg="This test assumes lib32-connman-gnome is installed")
+    def test_file_glib(self):
+        self.assertTrue(oeRuntimeTest.hasPackage('lib32-libglib-2.0-utils'), msg="This test assumes lib32-libglib-2.0-utils is installed")
 
-        (status, output) = self.target.run("readelf -h /usr/bin/connman-applet")
-        self.assertEqual(status, 0, "Failed to readelf /usr/bin/connman-applet")
+        (status, output) = self.target.run("readelf -h /usr/bin/glib-genmarshal")
+        self.assertEqual(status, 0, "Failed to readelf /usr/bin/glib-genmarshal")
         theclass = self.parse(output)
-        self.assertEqual(theclass, "ELF32", msg="connman-applet isn't ELF32 (is %s)" % theclass)
+        self.assertEqual(theclass, "ELF32", msg="glib-genmarshal isn't ELF32 (is %s)" % theclass)
-- 
2.1.4



  reply	other threads:[~2015-08-28 23:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28 23:43 [PATCH 1/2] oeqa/runtime/multilib: add test for libc Ross Burton
2015-08-28 23:43 ` Ross Burton [this message]
2015-08-28 23:54   ` [PATCH 2/2] oeqa/runtime/multilib: change test case to use glib-2.0-utils Burton, Ross
2015-08-29 11:35     ` Paul Eggleton
2015-08-29 12:58       ` Burton, Ross

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=1440805397-3775-2-git-send-email-ross.burton@intel.com \
    --to=ross.burton@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.