diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2019-09-05 13:44:15 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-06 08:15:45 +0100 |
| commit | 4364a26db198870b12749f04da2ed0f95a105ab0 (patch) | |
| tree | 575887548845b50fce15dd837d1118a3c693f146 /scripts/oe-selftest | |
| parent | ecfa7aaea3e1c227704583347555e0b68de63104 (diff) | |
| download | poky-4364a26db198870b12749f04da2ed0f95a105ab0.tar.gz | |
oe-selftest: Implement console 'keepalive' output
Similar to bitbake, implement a 'keepalive' output to the console to
ensure CI systems do not kill the process. The default timeout for
bitbake is 5000s.
(From OE-Core rev: 77939cca96fa5467c88eafa3ac0db2db4aef09d6)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-selftest')
| -rwxr-xr-x | scripts/oe-selftest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest index 57662b2f75..18ac0f5869 100755 --- a/scripts/oe-selftest +++ b/scripts/oe-selftest | |||
| @@ -33,7 +33,7 @@ scriptpath.add_bitbake_lib_path() | |||
| 33 | from oeqa.utils import load_test_components | 33 | from oeqa.utils import load_test_components |
| 34 | from oeqa.core.exception import OEQAPreRun | 34 | from oeqa.core.exception import OEQAPreRun |
| 35 | 35 | ||
| 36 | logger = scriptutils.logger_create('oe-selftest', stream=sys.stdout) | 36 | logger = scriptutils.logger_create('oe-selftest', stream=sys.stdout, keepalive=True) |
| 37 | 37 | ||
| 38 | def main(): | 38 | def main(): |
| 39 | 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." | 39 | 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." |
