Mercurial > hg > autobot
changeset 95:4ed9a96dbb82
fix some test harnesses
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 12 Jan 2011 15:01:08 -0800 |
parents | e806a9c1dc4f |
children | df706d33642b |
files | autobot/projects/autobot/__init__.py autobot/projects/mozmill/__init__.py |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/autobot/projects/autobot/__init__.py Wed Jan 12 14:20:44 2011 -0800 +++ b/autobot/projects/autobot/__init__.py Wed Jan 12 15:01:08 2011 -0800 @@ -25,7 +25,7 @@ # make a master, slave pair self.addStep(ShellCommand(command=[WithProperties('%(create-autobot)s'), '-f', '-', # all factories, - 'bot'] + 'bot'], description="make an autobot", workdir=WithProperties('%(virtualenv)s')))
--- a/autobot/projects/mozmill/__init__.py Wed Jan 12 14:20:44 2011 -0800 +++ b/autobot/projects/mozmill/__init__.py Wed Jan 12 15:01:08 2011 -0800 @@ -1,4 +1,6 @@ from autobot.process.factory import VirtualenvFactory +from buildbot.steps.shell import ShellCommand +from buildbot.steps.shell import WithProperties class TestMozmillFactory(VirtualenvFactory): """ @@ -10,8 +12,8 @@ # setup the environment VirtualenvFactory.__init__(self, name='mozmill', git_sources=['http://github.com/mozautomation/mozmill']) - set.addStep(ShellCommand(command=['bash', 'setup_development.sh'], - workdir=WithProperites('%(virtualenv)s/src/mozmill'))) + self.addStep(ShellCommand(command=['bash', 'setup_development.sh'], + workdir=WithProperties('%(virtualenv)s/src/mozmill'))) # get firefox # [TODO]