]> code.ossystems Code Review - openembedded-core.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:03:52 +0000 (12:03 +0000)
commit275ef03b77ef5f23b75cb01c55206d1ab0261342
treeaf6256e3a79e230f867dc7ad488945ea7b6742c5
parent102d04ccca3ca89d41b76a8c44e0ca0f436b7004
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]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
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]