[OE-core] [PATCH] oeqa/oetest.py: add better pkg. search for hasPackage()

2015-08-21 Thread Costin Constantin
Modified hasPackage() to split the content of pkg. manifest file in containing lines and search at the begining of each line the existance of the needed pkg. [YOCTO #8170] Signed-off-by: Costin Constantin costin.c.constan...@intel.com --- meta/lib/oeqa/oetest.py | 10 ++ 1 file changed,

Re: [OE-core] [PATCH] oeqa/oetest.py: add better pkg. search for hasPackage()

2015-08-21 Thread Burton, Ross
On 21 August 2015 at 12:37, Costin Constantin costin.c.constan...@intel.com wrote: +for item in oeTest.tc.pkgmanifest.split('\n'): +if re.match(pkg, item): +return True +break +else: +return False I just had to look