mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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. (From OE-Core rev: 986452c410a958e339f31f8c05461c18a1a15eb5) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cfa8245e0e
commit
c4f6c20472
|
@ -43,7 +43,7 @@ scriptpath.add_bitbake_lib_path()
|
||||||
from oeqa.utils import load_test_components
|
from oeqa.utils import load_test_components
|
||||||
from oeqa.core.exception import OEQAPreRun
|
from oeqa.core.exception import OEQAPreRun
|
||||||
|
|
||||||
logger = scriptutils.logger_create('oe-selftest')
|
logger = scriptutils.logger_create('oe-selftest', stream=sys.stdout)
|
||||||
|
|
||||||
def main():
|
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."
|
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."
|
||||||
|
|
|
@ -27,7 +27,7 @@ except ImportError:
|
||||||
from oeqa.utils import load_test_components
|
from oeqa.utils import load_test_components
|
||||||
from oeqa.core.exception import OEQAPreRun
|
from oeqa.core.exception import OEQAPreRun
|
||||||
|
|
||||||
logger = scriptutils.logger_create('oe-test')
|
logger = scriptutils.logger_create('oe-test', stream=sys.stdout)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
parser = argparse_oe.ArgumentParser(description="OpenEmbedded test tool",
|
parser = argparse_oe.ArgumentParser(description="OpenEmbedded test tool",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user