]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/{core,selftest}: Add support to validate if a specified test case isn't found
authorAníbal Limón <anibal.limon@linux.intel.com>
Wed, 26 Jul 2017 15:04:09 +0000 (10:04 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Jul 2017 07:45:11 +0000 (08:45 +0100)
commite50b415aaaa1581473f85f0a8afa278b5f95129b
treec435431882e48cbdde778a5a2abd7f458d6dac2a
parent07c5eb7f9232ecd4a094040cbe85af2727bd2bd5
oeqa/{core,selftest}: Add support to validate if a specified test case isn't found

If some test module/case is specified to run and isn't found the OEQA
framework didn't notice it, so complete the implementation using
modules_required and validate for the test case prescense.

Raise an exception when the test module/case required isn't found.

[YOCTO #11645]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/context.py
meta/lib/oeqa/core/exception.py
meta/lib/oeqa/core/loader.py
meta/lib/oeqa/selftest/context.py