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

Corneliu Stoicescu corneliux.stoicescu at intel.com
Wed Aug 20 05:57:30 PDT 2014


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