]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core/threaded: Add OEStreamLoggerThreaded class
authorAníbal Limón <anibal.limon@linux.intel.com>
Fri, 26 May 2017 20:37:34 +0000 (15:37 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 May 2017 09:15:22 +0000 (10:15 +0100)
commit87d3e5b70c52e5c7439afe4af5aa002522043e81
tree17d60cf9ad4d321f108c91d256959c8ad14a5471
parentb4ae730ee1d6003ff005148f741270e2878de484
oeqa/core/threaded: Add OEStreamLoggerThreaded class

The OEStreamLoggerThreaded overrides OEStreamLogger to redirect
the PyUnit output to a logger.

Instead of log every line when comes the OEStreamLoggerThreaded
will buffer the PyUnit output and write everything at end of every
suite execution to don't have mixed suite outputs.

[YOCTO #11450]

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/threaded.py