[oe-commits] [openembedded-core] 01/35: oeqa/sdk/buildgalculator: check for nativesdk-gettext-dev

git at git.openembedded.org git at git.openembedded.org
Sat Aug 11 10:07:27 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 0474326d79b7675dabe63f691733e8c6b24b2fb0
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Aug 8 21:37:52 2018 +0100

    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 at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/sdk/cases/buildgalculator.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py
index 5a5bf99..4c02ea4 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):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list