path: root/meta/lib/oeqa/sdk/
diff options
authorRoss Burton <>2016-06-15 11:01:23 (GMT)
committerSona Sarmadi <>2017-02-10 11:21:38 (GMT)
commit5772e2b19d1b0b6e277ade15a3242d583cda90ee (patch)
tree1c083ec7762c10f0275caa7a1b3a920b87387b10 /meta/lib/oeqa/sdk/
parent2f7efedae16efcb009fb76ecfbc6844701885d06 (diff)
oeqa: fix hasPackage, add hasPackageMatch
hasPackage() was looking for the string provided as an RE substring in the manifest, which resulted in a large number of false positives (i.e. libgtkfoo would match "gtk+"). Rewrite the manifest loader to parse the files into a proper data structure, change hasPackage to do full string matches, and add hasPackageMatch which does RE substring matches. (From OE-Core rev: b9409863af71899e02275439949e3f4cdfaf2d0f) Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <> Signed-off-by: Armin Kuster <> Signed-off-by: Sona Sarmadi <>
Diffstat (limited to 'meta/lib/oeqa/sdk/')
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/sdk/ b/meta/lib/oeqa/sdk/
index dea77c6..5abbbb8 100644
--- a/meta/lib/oeqa/sdk/
+++ b/meta/lib/oeqa/sdk/
@@ -3,7 +3,7 @@ from oeqa.utils.decorators import *
3from oeqa.utils.targetbuild import SDKBuildProject 3from oeqa.utils.targetbuild import SDKBuildProject
4 4
5def setUpModule(): 5def setUpModule():
6 if not oeSDKTest.hasPackage("gtk\+"): 6 if not oeSDKTest.hasPackage("gtk+"):
7 skipModule("Image doesn't have gtk+ in manifest") 7 skipModule("Image doesn't have gtk+ in manifest")
8 8
9class SudokuTest(oeSDKTest): 9class SudokuTest(oeSDKTest):