scripts/yocto-compat-layer.py: Dump log to stdout instead of stderr

The common unix tools uses stdout as standard for log output, by default
python logging uses stderr if not stream is specified.

[YOCTO #11160]

(From OE-Core rev: 95ad04f7daed17bde5be5fc264f6c731fecfdfa9)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Aníbal Limón 2017-03-20 14:51:02 -06:00 committed by Richard Purdie
parent 15e65f5f07
commit 1e3ef54408
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ DEFAULT_OUTPUT_LOG = '%s-%s.log' % (PROGNAME,
OUTPUT_LOG_LINK = "%s.log" % PROGNAME
CASES_PATHS = [os.path.join(os.path.abspath(os.path.dirname(__file__)),
'lib', 'compatlayer', 'cases')]
logger = scriptutils.logger_create(PROGNAME)
logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout)
def test_layer_compatibility(td, layer):
from compatlayer.context import CompatLayerTestContext