blob: 7d1874f054d6cd9ee629827adce8dcd1c761491a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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__ = "stefanx.stanacar@intel.com"
'''
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)
|