]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core/decorator: Add support for OETestDepends
authorAníbal Limón <anibal.limon@linux.intel.com>
Wed, 9 Nov 2016 17:09:07 +0000 (11:09 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:52 +0000 (12:03 +0000)
commit2385bd3c8a7c012fd1cad5465ec7d34675552c75
treeb0b350a41a2a1bf53a473595cc25ab5786b88dc1
parent275ef03b77ef5f23b75cb01c55206d1ab0261342
oeqa/core/decorator: Add support for OETestDepends

The OETestDepends decorator could be used over test cases to
define some dependency between them.

At loading time sorting the tests to grauntee that a test case
executes before also raise an exception if found a circular
dependency between test cases.

At before test case run reviews if the dependency if meet, in the
case of don't it skips the test case run.

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/decorator/depends.py [new file with mode: 0644]