]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:05:19 +0000 (12:05 +0000)
commitbbb7366db3a631eed786c86a1c627e00c927f0b4
treec83dd1bb96671bac9da0cb76fd711a07aa1adada
parentad2168365f87392035a93cf2cd86ccedc3d5e378
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]

(From OE-Core rev: 619c9ab308fbef9e3563dc661e432603e764b562)

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