mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 15:32:13 +02:00
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:
committed by
Richard Purdie
parent
05697aa941
commit
8573de63aa
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user