diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-08-29 10:56:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-30 16:16:06 +0100 |
commit | ce82ee46f4a7beb5663238b276e779e5c9657777 (patch) | |
tree | 6a12f0bd4349c5e4098d24fb8a12eb893ec9a5e1 | |
parent | 163764ad4760a5fabf65640df5f968be98ad13d2 (diff) | |
download | openembedded-core-ce82ee46f4a7beb5663238b276e779e5c9657777.tar.gz openembedded-core-ce82ee46f4a7beb5663238b276e779e5c9657777.tar.bz2 openembedded-core-ce82ee46f4a7beb5663238b276e779e5c9657777.zip |
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
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): @classmethod def setUpClass(self): - if not (self.tc.hasTargetPackage(r"gtk\+3") or\ - self.tc.hasTargetPackage(r"libgtk-3.0")): + if not (self.tc.hasTargetPackage(r"gtk\+3", multilib=True) or\ + self.tc.hasTargetPackage(r"libgtk-3.0", multilib=True)): raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3") if not (self.tc.hasHostPackage("nativesdk-gettext-dev")): raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext") |