diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-06-09 12:01:28 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-12 23:01:23 +0100 |
commit | 8573de63aa0ad84cc0f6763343897ce9e20f0879 (patch) | |
tree | 8f39c3c26c8f73769a8b74312e70898c12e2b022 /meta/lib | |
parent | 05697aa9418a107e584caa168967e9350d1ea404 (diff) | |
download | poky-8573de63aa0ad84cc0f6763343897ce9e20f0879.tar.gz |
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>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildgalculator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
8 | 8 | ||
9 | @classmethod | 9 | @classmethod |
10 | def setUpClass(self): | 10 | def setUpClass(self): |
11 | if not (self.tc.hasTargetPackage("gtk+3") or\ | 11 | if not (self.tc.hasTargetPackage("gtk\+3") or\ |
12 | self.tc.hasTargetPackage("libgtk-3.0")): | 12 | self.tc.hasTargetPackage("libgtk-3.0")): |
13 | raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3") | 13 | raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3") |
14 | 14 | ||