From: Aníbal Limón Date: Fri, 9 Jun 2017 17:01:28 +0000 (-0500) Subject: oeqa/sdk/cases: Fix skip of buildgcalculator test X-Git-Tag: uninative-1.7~528 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=271cd99d00bde0b9f2aa27141acbe06812f34638;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py index 42e8ddb185..780afccc74 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")