]> code.ossystems Code Review - openembedded-core.git/commit
oeqa: fix hasPackage, add hasPackageMatch
authorRoss Burton <ross.burton@intel.com>
Wed, 15 Jun 2016 11:01:23 +0000 (12:01 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 May 2017 12:13:37 +0000 (13:13 +0100)
commit990db70dac60541ef14977177fff4361e31c51eb
tree0904c3db6ffa8dde8377a734e1bdc240292d90ae
parent989be1015d678ed6b11fde3bd153a92a42e8ec72
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 <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/oetest.py
meta/lib/oeqa/runtime/_ptest.py
meta/lib/oeqa/runtime/python.py
meta/lib/oeqa/runtime/smart.py
meta/lib/oeqa/sdk/buildsudoku.py