diff options
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/oetest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index dfed3dea87..b6d2a2ca64 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
@@ -99,9 +99,9 @@ class oeTest(unittest.TestCase): | |||
99 | 99 | ||
100 | @classmethod | 100 | @classmethod |
101 | def hasPackage(self, pkg): | 101 | def hasPackage(self, pkg): |
102 | 102 | for item in oeTest.tc.pkgmanifest.split('\n'): | |
103 | if re.search(pkg, oeTest.tc.pkgmanifest): | 103 | if re.match(pkg, item): |
104 | return True | 104 | return True |
105 | return False | 105 | return False |
106 | 106 | ||
107 | @classmethod | 107 | @classmethod |