]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime: Add OERequirePackage decorator
authorKonrad Weihmann <kweihmann@outlook.com>
Mon, 15 Jun 2020 20:26:56 +0000 (22:26 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Jun 2020 10:09:27 +0000 (11:09 +0100)
commitc5be39df1494f33e2cae116e4930f2a0f3dd2000
treecb0ae4ca381f55346566f8dcb0353232bf8ce07d
parent9a2386443af23d4b713b9635a0275165565ef8f4
oeqa/runtime: Add OERequirePackage decorator

Add new decorator which behaves like OEHasPackage, but
fails the testcase if a dependency isn't met.

This helps to identify missing packages in the image
under test when using static test suite lists, otherwise
a missing package won't fail the overall test suite and
errors might slip through unnoticed

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/decorator/package.py