summaryrefslogtreecommitdiffstats
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-06-05 10:46:03 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-05 17:59:40 +0100
commit986452c410a958e339f31f8c05461c18a1a15eb5 (patch)
tree70f15235173092d5b067b9e08b282a38628318f9 /scripts/oe-selftest
parent17b832ba05d640570a773adbff2fa4e9ff83fce3 (diff)
downloadopenembedded-core-986452c410a958e339f31f8c05461c18a1a15eb5.tar.gz
openembedded-core-986452c410a958e339f31f8c05461c18a1a15eb5.tar.bz2
openembedded-core-986452c410a958e339f31f8c05461c18a1a15eb5.zip
scripts/oe-{self,}test: Logger change default stream to stdout
By default python logging module uses stderr as default stream for output but is unix-like to use stdout instead, so change it. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-xscripts/oe-selftest2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index b200acee13..1bf860a415 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -43,7 +43,7 @@ scriptpath.add_bitbake_lib_path()
from oeqa.utils import load_test_components
from oeqa.core.exception import OEQAPreRun
-logger = scriptutils.logger_create('oe-selftest')
+logger = scriptutils.logger_create('oe-selftest', stream=sys.stdout)
def main():
description = "Script that runs unit tests against bitbake and other Yocto related tools. The goal is to validate tools functionality and metadata integrity. Refer to https://wiki.yoctoproject.org/wiki/Oe-selftest for more information."