diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-03-20 14:51:02 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-21 22:43:04 +0000 |
commit | 95ad04f7daed17bde5be5fc264f6c731fecfdfa9 (patch) | |
tree | ce55838c91014ae7fa674d9fc782b8b840862419 /scripts/yocto-compat-layer.py | |
parent | 60c9b06f4085f6bddb6aa397a38bfc2ceb10f964 (diff) | |
download | openembedded-core-95ad04f7daed17bde5be5fc264f6c731fecfdfa9.tar.gz openembedded-core-95ad04f7daed17bde5be5fc264f6c731fecfdfa9.tar.bz2 openembedded-core-95ad04f7daed17bde5be5fc264f6c731fecfdfa9.zip |
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]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/yocto-compat-layer.py')
-rwxr-xr-x | scripts/yocto-compat-layer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/yocto-compat-layer.py b/scripts/yocto-compat-layer.py index 09dc5bf450..8996fff799 100755 --- a/scripts/yocto-compat-layer.py +++ b/scripts/yocto-compat-layer.py @@ -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 |