[oe-commits] [openembedded-core] 15/17: oeqa/sdk/cases: Fix skip of buildgcalculator test

git at git.openembedded.org git at git.openembedded.org
Mon Jun 12 14:25:01 UTC 2017


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

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

commit 271cd99d00bde0b9f2aa27141acbe06812f34638
Author: Aníbal Limón <anibal.limon at linux.intel.com>
AuthorDate: Fri Jun 9 12:01:28 2017 -0500

    oeqa/sdk/cases: Fix skip of buildgcalculator test
    
    The tc.hasTargetPackage uses a re.search to see if gtk+3 is on
    the manifest but + in regex means 1 or more causing the test
    to be skipped.
    
    Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/sdk/cases/buildgalculator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py
index 42e8ddb..780afcc 100644
--- a/meta/lib/oeqa/sdk/cases/buildgalculator.py
+++ b/meta/lib/oeqa/sdk/cases/buildgalculator.py
@@ -8,7 +8,7 @@ class GalculatorTest(OESDKTestCase):
 
     @classmethod
     def setUpClass(self):
-        if not (self.tc.hasTargetPackage("gtk+3") or\
+        if not (self.tc.hasTargetPackage("gtk\+3") or\
                 self.tc.hasTargetPackage("libgtk-3.0")):
             raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3")
 

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


More information about the Openembedded-commits mailing list