summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-08-08 21:37:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-10 23:00:02 +0100
commit0474326d79b7675dabe63f691733e8c6b24b2fb0 (patch)
tree18548c0001506ac5c0a8ddaefb06ed6f0515f940 /meta/lib
parent3d493838f0284948a09693ad65656cb7afbb21cc (diff)
downloadopenembedded-core-contrib-0474326d79b7675dabe63f691733e8c6b24b2fb0.tar.gz
openembedded-core-contrib-0474326d79b7675dabe63f691733e8c6b24b2fb0.tar.bz2
openembedded-core-contrib-0474326d79b7675dabe63f691733e8c6b24b2fb0.zip
oeqa/sdk/buildgalculator: check for nativesdk-gettext-dev
We don't need target gettext to build, but nativesdk-gettext-dev (for nls.m4). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/sdk/cases/buildgalculator.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py
index 5a5bf992eb..4c02ea4c51 100644
--- a/meta/lib/oeqa/sdk/cases/buildgalculator.py
+++ b/meta/lib/oeqa/sdk/cases/buildgalculator.py
@@ -8,10 +8,10 @@ class GalculatorTest(OESDKTestCase):
@classmethod
def setUpClass(self):
- if not (self.tc.hasTargetPackage("gtk\+3") or\
- self.tc.hasTargetPackage("libgtk-3.0")):
+ if not (self.tc.hasTargetPackage(r"gtk\+3") or\
+ self.tc.hasTargetPackage(r"libgtk-3.0")):
raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3")
- if not (self.tc.hasTargetPackage("gettext")):
+ if not (self.tc.hasHostPackage("nativesdk-gettext-dev")):
raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext")
def test_galculator(self):