diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-06-01 13:03:08 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-04 15:14:43 +0100 |
commit | bc6839394c06bb695b92b2183337e7381da1e86c (patch) | |
tree | bdd576299542b149b506c6a4f078ff9b98e6bb2c | |
parent | eae929a5c224f5c3468d6a0466d1bbb3f678a5a1 (diff) | |
download | openembedded-core-bc6839394c06bb695b92b2183337e7381da1e86c.tar.gz openembedded-core-bc6839394c06bb695b92b2183337e7381da1e86c.tar.bz2 openembedded-core-bc6839394c06bb695b92b2183337e7381da1e86c.zip |
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.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): @OETestID(279) @OETestDepends(['multilib.MultilibTest.test_check_multilib_libc']) - @OEHasPackage(['lib32-connman']) + @OEHasPackage(['lib32-connman', '!connman']) def test_file_connman(self): self.archtest("/usr/sbin/connmand", "ELF32") |