summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/oetest.py6
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):
@classmethod
def hasPackage(self, pkg):
-
- if re.search(pkg, oeTest.tc.pkgmanifest):
- return True
+ for item in oeTest.tc.pkgmanifest.split('\n'):
+ if re.match(pkg, item):
+ return True
return False
@classmethod