annotate autobot/projects/mozmill/__init__.py @ 142:260cebcbb309

move towards the new way of noting sources
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 24 Jan 2011 13:10:01 -0800
parents b41d58e93b2d
children 2a90789e2ba3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
89
9b0ebf306b3c autobot/template/master/master.cfg
Jeff Hammel <jhammel@mozilla.com>
parents: 83
diff changeset
1 from autobot.process.factory import VirtualenvFactory
95
4ed9a96dbb82 fix some test harnesses
Jeff Hammel <jhammel@mozilla.com>
parents: 94
diff changeset
2 from buildbot.steps.shell import ShellCommand
4ed9a96dbb82 fix some test harnesses
Jeff Hammel <jhammel@mozilla.com>
parents: 94
diff changeset
3 from buildbot.steps.shell import WithProperties
27
555fd1ba838d stub out mozmill testor
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4
89
9b0ebf306b3c autobot/template/master/master.cfg
Jeff Hammel <jhammel@mozilla.com>
parents: 83
diff changeset
5 class TestMozmillFactory(VirtualenvFactory):
27
555fd1ba838d stub out mozmill testor
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 """
555fd1ba838d stub out mozmill testor
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 factory to test Mozmill
555fd1ba838d stub out mozmill testor
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 http://github.com/mozautomation/mozmill
555fd1ba838d stub out mozmill testor
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 """
142
260cebcbb309 move towards the new way of noting sources
Jeff Hammel <jhammel@mozilla.com>
parents: 97
diff changeset
10
260cebcbb309 move towards the new way of noting sources
Jeff Hammel <jhammel@mozilla.com>
parents: 97
diff changeset
11 sources = {'git': ['http://github.com/mozautomation/mozmill']}
97
b41d58e93b2d whitespace
Jeff Hammel <jhammel@mozilla.com>
parents: 95
diff changeset
12
94
e806a9c1dc4f set the firefox_url to None until we have something to do with it
Jeff Hammel <jhammel@mozilla.com>
parents: 93
diff changeset
13 def __init__(self, firefox_url=None):
27
555fd1ba838d stub out mozmill testor
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14
555fd1ba838d stub out mozmill testor
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 # setup the environment
142
260cebcbb309 move towards the new way of noting sources
Jeff Hammel <jhammel@mozilla.com>
parents: 97
diff changeset
16 VirtualenvFactory.__init__(self, name='mozmill')
95
4ed9a96dbb82 fix some test harnesses
Jeff Hammel <jhammel@mozilla.com>
parents: 94
diff changeset
17 self.addStep(ShellCommand(command=['bash', 'setup_development.sh'],
4ed9a96dbb82 fix some test harnesses
Jeff Hammel <jhammel@mozilla.com>
parents: 94
diff changeset
18 workdir=WithProperties('%(virtualenv)s/src/mozmill')))
27
555fd1ba838d stub out mozmill testor
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19
34
206467b6f61f * cleanup a bit in projects and start featuring autodiscovery
Jeff Hammel <jhammel@mozilla.com>
parents: 27
diff changeset
20 # get firefox
83
42cdcb431462 some factory tidying
Jeff Hammel <jhammel@mozilla.com>
parents: 34
diff changeset
21 # [TODO]
34
206467b6f61f * cleanup a bit in projects and start featuring autodiscovery
Jeff Hammel <jhammel@mozilla.com>
parents: 27
diff changeset
22
27
555fd1ba838d stub out mozmill testor
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
23 # run the tests