]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core/loader: Fix filtering on test modules with submodules
authorAníbal Limón <anibal.limon@linux.intel.com>
Thu, 8 Jun 2017 16:32:07 +0000 (11:32 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Jun 2017 14:04:08 +0000 (15:04 +0100)
commitcf2ee12b007e5570959ccfbb643159b21d90426e
treef795d4b91378a9af2baa7d7050b7a208af81b867
parent25c8d738b904c8755df203122067afa0047b27ad
oeqa/core/loader: Fix filtering on test modules with submodules

Our filtering allows to specify which tests to run using,

<module_name>.[test_class].[test_name]

But the module name logic was restricted to only accept one level,
for example: runtime_test vs oelib.types, to support multiple
submodules use only the first part for filtering.

This allows to run the whole tests in a module with more than tree
levels.

Due to the ambiguity on the test filtering options with test cases
with more than tree levels the supported sytnax is,

<module>

or

<module>.[submoduleN].[test_class].[test_name]

[YOCTO #11632]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/core/loader.py