]> code.ossystems Code Review - openembedded-core.git/commit
oeqa: avoid class setup method to run when skipping the whole class
authorChen Qi <Qi.Chen@windriver.com>
Fri, 21 Jun 2019 01:18:03 +0000 (09:18 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jun 2019 14:30:56 +0000 (15:30 +0100)
commitb0b79bf65f5e5e65958090a4a88622b42df896bf
treeb0d8455420a6ad18a7a710367323118f877bd214
parentde3b070fc2ddd0b63a324679ec5adbe30142fc22
oeqa: avoid class setup method to run when skipping the whole class

For now, even if we have specified to skip the whole module/class via
command line, e.g., `oe-selftest -R gotoolchain', the class setup method
is still run. This at least results in unnecessary builds, and at worst
results in ERROR, if the setup method fails.

So improve the skipping mechanism to avoid class setup method to run
when specified to skip.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/case.py
meta/lib/oeqa/core/context.py