diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-06-01 13:03:08 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-02 11:41:25 +0100 |
commit | 24a4db03dc5ca607fd3b62916b265e9b83578c30 (patch) | |
tree | f98e0094b51e61bccd01fe1040044ea797de7675 /meta | |
parent | b6b05c99b07f967dc3467dbab71f76f8d6921f9f (diff) | |
download | poky-24a4db03dc5ca607fd3b62916b265e9b83578c30.tar.gz |
oeqa/runtime/cases/multilib.py: fix test_file_connman skipping logic
The test_file_connman should be executed only when 'lib32-connman' is
installed and 'connman' is not installed.
When lib32-connman and connman are both installed, the /usr/sbin/connmand
could be from connman or lib32-connman, depending on the installation
order. What we want to check is the connmand command from lib32-connman,
so we need to make sure that connman is not there to cause chaos.
(From OE-Core rev: bc6839394c06bb695b92b2183337e7381da1e86c)
(From OE-Core rev: 55eed10368da6b3179e3ad1ab9322cff32fa99cf)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/multilib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/multilib.py b/meta/lib/oeqa/runtime/cases/multilib.py index 970f676981..89020386b1 100644 --- a/meta/lib/oeqa/runtime/cases/multilib.py +++ b/meta/lib/oeqa/runtime/cases/multilib.py | |||
@@ -38,6 +38,6 @@ class MultilibTest(OERuntimeTestCase): | |||
38 | 38 | ||
39 | @OETestID(279) | 39 | @OETestID(279) |
40 | @OETestDepends(['multilib.MultilibTest.test_check_multilib_libc']) | 40 | @OETestDepends(['multilib.MultilibTest.test_check_multilib_libc']) |
41 | @OEHasPackage(['lib32-connman']) | 41 | @OEHasPackage(['lib32-connman', '!connman']) |
42 | def test_file_connman(self): | 42 | def test_file_connman(self): |
43 | self.archtest("/usr/sbin/connmand", "ELF32") | 43 | self.archtest("/usr/sbin/connmand", "ELF32") |