summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-03-20 14:51:02 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-22 11:35:21 +0000
commit1e3ef54408da5625e3558602cae409663e03c8f7 (patch)
treee831b6b692381316e15bc499831577d4e25eeb90 /scripts
parent15e65f5f07fd720487a7a09c2854dae1192cc4ac (diff)
downloadpoky-1e3ef54408da5625e3558602cae409663e03c8f7.tar.gz
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/yocto-compat-layer.py2
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,
31OUTPUT_LOG_LINK = "%s.log" % PROGNAME 31OUTPUT_LOG_LINK = "%s.log" % PROGNAME
32CASES_PATHS = [os.path.join(os.path.abspath(os.path.dirname(__file__)), 32CASES_PATHS = [os.path.join(os.path.abspath(os.path.dirname(__file__)),
33 'lib', 'compatlayer', 'cases')] 33 'lib', 'compatlayer', 'cases')]
34logger = scriptutils.logger_create(PROGNAME) 34logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout)
35 35
36def test_layer_compatibility(td, layer): 36def test_layer_compatibility(td, layer):
37 from compatlayer.context import CompatLayerTestContext 37 from compatlayer.context import CompatLayerTestContext