[yocto] [yocto-autobuilder] buildsteps/RunOeSelftest.py: change the way oe-selftest is called

Stoicescu, CorneliuX corneliux.stoicescu at intel.com
Wed Aug 20 03:53:52 PDT 2014


This patch is regarding the recent oe-selftest failures on the AB, such as:

https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/16/steps/Running%20oe-selftest/logs/stdio

Regards,
Corneliu

> -----Original Message-----
> From: Stoicescu, CorneliuX
> Sent: Wednesday, August 20, 2014 3:58 PM
> To: yocto at yoctoproject.org
> Cc: Stoicescu, CorneliuX
> Subject: [yocto-autobuilder] buildsteps/RunOeSelftest.py: change the way
> oe-selftest is called
> 
> A recent patch went in poky master that added command line parsing and
> options to the oe-selftest script.
> Changing the way oe-selftest is called by the autobuilder to account for
> these changes.
> 
> Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu at intel.com>
> ---
>  lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/python2.7/site-
> packages/autobuilder/buildsteps/RunOeSelftest.py b/lib/python2.7/site-
> packages/autobuilder/buildsteps/RunOeSelftest.py
> index 0efddd7..3d95583 100644
> --- a/lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py
> +++ b/lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py
> @@ -22,5 +22,5 @@ class RunOeSelftest(ShellCommand):
>          self.description = "Running oe-selftest"
>          self.timeout = 100000
>          kwargs['timeout']=self.timeout
> -        self.command = "if [ -d meta-selftest ]; then . ./oe-init-build-env; oe-
> selftest; else echo 'Skipping step - no meta-selftest layer here'; fi"
> +        self.command = "if [ -d meta-selftest ]; then . ./oe-init-build-env; oe-
> selftest --run-all-tests; else echo 'Skipping step - no meta-selftest layer here';
> fi"
>          ShellCommand.__init__(self, **kwargs)
> --
> 1.8.3.2




More information about the yocto mailing list