diff options
Diffstat (limited to 'lib/python2.7/site-packages/autobuilder/buildsteps/TestFailStep.py')
-rw-r--r-- | lib/python2.7/site-packages/autobuilder/buildsteps/TestFailStep.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/TestFailStep.py b/lib/python2.7/site-packages/autobuilder/buildsteps/TestFailStep.py deleted file mode 100644 index 5c18a777..00000000 --- a/lib/python2.7/site-packages/autobuilder/buildsteps/TestFailStep.py +++ /dev/null @@ -1,30 +0,0 @@ -''' -Created on Dec 26, 2012 - -__author__ = "Elizabeth 'pidge' Flanagan" -__copyright__ = "Copyright 2013, Intel Corp." -__credits__ = ["Elizabeth Flanagan"] -__license__ = "GPL" -__version__ = "2.0" -__maintainer__ = "Elizabeth Flanagan" -__email__ = "pidge@toganlabs.com" -''' -from buildbot.steps.shell import ShellCommand -from buildbot.status.results import FAILURE - -class TestFailStep(ShellCommand): - haltOnFailure = False - flunkOnFailure = True - name = "TestFailStep" - def __init__(self, factory, argdict=None, **kwargs): - for k, v in argdict.iteritems(): - setattr(self, k, v) - self.description = "Generic Fail Step" - for k, v in argdict.iteritems(): - setattr(self, k, v) - self.command="echo 'Failing out'" - ShellCommand.__init__(self, **kwargs) - - def commandComplete(self, cmd): - self.finished(FAILURE) - |