]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/__init__.py: Adds compatibility with bitbake logger
authorMariano Lopez <mariano.lopez@linux.intel.com>
Wed, 21 Dec 2016 13:14:00 +0000 (13:14 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:53 +0000 (12:03 +0000)
commit619c9ab308fbef9e3563dc661e432603e764b562
treef94cee21307c9882e0dd121b9551e951f27105a8
parentbff1b66c6b88fd2d99d14cecba27ee2f7462711f
oeqa/utils/__init__.py: Adds compatibility with bitbake logger

The bitbake logger changes the way debug is logged and adds
different levels within debug, this is passed as argument
to the function and breaks compatibility with vanilla loggers.

This implements a way to handle this adding a new function for
debug, that will dispatch the correct logging method signature.

Also overrides info method to use logging.INFO + 1 in order to
see plain data.

Also this commit fix the issue of not showing the test summary
and results when running from bitbake.

[YOCTO #10686]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
meta/lib/oeqa/utils/__init__.py