]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/core: Add loader, context and decorator modules
authorAníbal Limón <anibal.limon@linux.intel.com>
Wed, 9 Nov 2016 16:38:37 +0000 (10:38 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:05:18 +0000 (12:05 +0000)
commit13c8c08b95191829705b5a4c8f0d368c251f0174
tree737412ed0d676dcf1982fc6b2cd0046bca760281
parentabb55ab304af91f68a4e09176ce9c6b995d903e0
oeqa/core: Add loader, context and decorator modules

loader: Implements OETestLoader handling OETestDecorator
and filtering support when load tests. The OETestLoader is
responsible to set custom methods, attrs of the OEQA
frameowork.

[YOCTO #10231]
[YOCTO #10317]
[YOCTO #10353]

decorator: Add base class OETestDecorator to provide a common
way to define decorators to be used over OETestCase's, every
decorator has a method to be called when loading tests and
before test execution starts. Special decorators could be
implemented for filter tests on loading phase.

context: Provides HIGH level API for loadTests and runTests
of certain test component (i.e. runtime, sdk, selftest).

[YOCTO #10230]

(From OE-Core rev: 275ef03b77ef5f23b75cb01c55206d1ab0261342)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/context.py [new file with mode: 0644]
meta/lib/oeqa/core/decorator/__init__.py [new file with mode: 0644]
meta/lib/oeqa/core/loader.py [new file with mode: 0644]