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.

(From OE-Core rev: 271cd99d00bde0b9f2aa27141acbe06812f34638)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Aníbal Limón
2017-06-09 12:01:28 -05:00
committed by Richard Purdie
parent 05697aa941
commit 8573de63aa

View File

@@ -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")