[oe-commits] [openembedded-core] 37/69: oeqa/runtime/multilib: fix (again) the multilib/connman test

git at git.openembedded.org git at git.openembedded.org
Wed Mar 23 14:26:25 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a6243715e73c4ba2d086564bf16db6fb3ce4fe02
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Dec 1 09:41:37 2015 +0000

    oeqa/runtime/multilib: fix (again) the multilib/connman test
    
    Now that connman-gnome RECOMMENDS instead of DEPENDS on connman, the dependency
    is weaker and a 64-bit system with lib32-connman-gnome will have a 64-bit
    connmand.  Verify that this is the case.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oeqa/runtime/multilib.py | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/meta/lib/oeqa/runtime/multilib.py b/meta/lib/oeqa/runtime/multilib.py
index 593d385..9219a7a 100644
--- a/meta/lib/oeqa/runtime/multilib.py
+++ b/meta/lib/oeqa/runtime/multilib.py
@@ -37,6 +37,10 @@ class MultilibTest(oeRuntimeTest):
     @testcase('279')
     @skipUnlessPassed('test_check_multilib_libc')
     def test_file_connman(self):
-        self.assertTrue(oeRuntimeTest.hasPackage('lib32-connman'), msg="This test assumes lib32-connman is installed")
-
-        self.archtest("/usr/sbin/connmand", "ELF32")
+        """
+        The test multilib image contains lib32-connman-gnome which now
+        RRECOMMENDS connman. This should result in a 32-bit connman-gnome but a
+        64-bit connmand.
+        """
+        self.archtest("/usr/sbin/connmand", "ELF64")
+        self.archtest("/usr/bin/connman-applet", "ELF32")

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list