diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-08-29 10:56:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-04 11:03:55 +0100 |
commit | 20cba32f2d9caab1202295424bd85c26b8c4192a (patch) | |
tree | 359dc9f2581f7e6c894bd36ea6f2d2c37754b13a /meta/lib | |
parent | a7e6de171657c6f3fc8e90b21b9ec4bad929439c (diff) | |
download | poky-20cba32f2d9caab1202295424bd85c26b8c4192a.tar.gz |
sdk/buldgalculator.py: check against multilib for gtk+3
When determining whether to skip the test case, the check should be
done with consideration of multilib. Otherwise, we will meet the
following error when testing against lib32 environment.
No package 'gtk+-3.0' found
(From OE-Core rev: ce82ee46f4a7beb5663238b276e779e5c9657777)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildgalculator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py index 4c02ea4c51..3714825b06 100644 --- a/meta/lib/oeqa/sdk/cases/buildgalculator.py +++ b/meta/lib/oeqa/sdk/cases/buildgalculator.py | |||
@@ -8,8 +8,8 @@ class GalculatorTest(OESDKTestCase): | |||
8 | 8 | ||
9 | @classmethod | 9 | @classmethod |
10 | def setUpClass(self): | 10 | def setUpClass(self): |
11 | if not (self.tc.hasTargetPackage(r"gtk\+3") or\ | 11 | if not (self.tc.hasTargetPackage(r"gtk\+3", multilib=True) or\ |
12 | self.tc.hasTargetPackage(r"libgtk-3.0")): | 12 | self.tc.hasTargetPackage(r"libgtk-3.0", multilib=True)): |
13 | raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3") | 13 | raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3") |
14 | if not (self.tc.hasHostPackage("nativesdk-gettext-dev")): | 14 | if not (self.tc.hasHostPackage("nativesdk-gettext-dev")): |
15 | raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext") | 15 | raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext") |