buildsteps, nightly: run bitbake-selftest
PATCH 1/1 buildsteps, nightly: run bitbake-selftest
Added a new buildstep which calls bitbake-selftest.
[YOCTO #4433]
Signed-off-by Stefan Stanacar <[email protected]>
--- buildset-config/nightly.conf | 1 + .../autobuilder/buildsteps/RunBitbakeSelftest.py | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/RunBitbakeSelftest.py
buildset-config/nightly.conf +1 -0
@@ -51,6 +51,7 @@ steps: [{'SetDest':{}}, {'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'x86_64', 'distro': 'poky'}}, {'CreateBBLayersConf': {'buildprovider' : 'yocto'}}, + {'RunBitbakeSelftest': {}}, {'BuildImages': {'images': 'universe -c fetch'}}, {'TriggerBuilds': {'schedulerNames': {'build-appliance': {'waitForFinish': 'False'},
lib/python2.7/site-packages/autobuilder/buildsteps/RunBitbakeSelftest.py new file +28 -0
@@ -0,0 +1,28 @@ +''' +Created on May 13, 2013 + +__author__ = "Stefan Stanacar" +__copyright__ = "Copyright 2013, Intel Corp." +__credits__ = ["Stefan Stanacar"] +__license__ = "GPL" +__version__ = "2.0" +__maintainer__ = "Stefan Stanacar" +__email__ = "[email protected]" +''' + + +from buildbot.steps.shell import ShellCommand + +class RunBitbakeSelftest(ShellCommand): + haltOnFailure = False + flunkOnFailure = True + name = "Running bitbake-selftest" + def __init__(self, factory, argdict=None, **kwargs): + self.factory = factory + for k, v in argdict.iteritems(): + setattr(self, k, v) + self.description = "Running bitbake-selftest" + self.timeout = 100000 + kwargs['timeout']=self.timeout + self.command = ". ./oe-init-build-env; bitbake-selftest" + ShellCommand.__init__(self, **kwargs)
Signature · 1 line
1.8.1.4
Merged into eflanagan/yocto-autobuilder-refactor. In production tomorrow.
-b
Quoted 60 lines · Stefan Stanacar
Added a new buildstep which calls bitbake-selftest.
[YOCTO #4433]
Signed-off-by Stefan Stanacar <[email protected]>--- buildset-config/nightly.conf | 1 + .../autobuilder/buildsteps/RunBitbakeSelftest.py | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/RunBitbakeSelftest.pybuildset-config/nightly.conf +1
-0@@ -51,6 +51,7 @@ steps: [{'SetDest':{}}, {'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'x86_64', 'distro': 'poky'}}, {'CreateBBLayersConf': {'buildprovider' : 'yocto'}}, + {'RunBitbakeSelftest': {}}, {'BuildImages': {'images': 'universe -c fetch'}}, {'TriggerBuilds': {'schedulerNames': {'build-appliance': {'waitForFinish': 'False'},lib/python2.7/site-packages/autobuilder/buildsteps/RunBitbakeSelftest.py new file +28
-1@@ -0,0 +1,28 @@ +''' +Created on May 13, 2013 + +__author__ = "Stefan Stanacar" +__copyright__ = "Copyright 2013, Intel Corp." +__credits__ = ["Stefan Stanacar"] +__license__ = "GPL" +__version__ = "2.0" +__maintainer__ = "Stefan Stanacar" +__email__ = "[email protected]" +''' + + +from buildbot.steps.shell import ShellCommand + +class RunBitbakeSelftest(ShellCommand): + haltOnFailure = False + flunkOnFailure = True + name = "Running bitbake-selftest" + def __init__(self, factory, argdict=None, **kwargs): + self.factory = factory + for k, v in argdict.iteritems(): + setattr(self, k, v) + self.description = "Running bitbake-selftest" + self.timeout = 100000 + kwargs['timeout']=self.timeout + self.command = ". ./oe-init-build-env; bitbake-selftest" + ShellCommand.__init__(self, **kwargs) --1.8.1.4
Signature · 3 lines
Elizabeth Flanagan Yocto Project Build and Release