Mercurial > hg > autobot
annotate autobot/projects/manifestdestiny/__init__.py @ 159:b4e1edfd49ee
* depend on a version of buildbot that has a slightly less broken version of gitpoller
* change manifest test path to reflect change in repo
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 31 Jan 2011 13:24:09 -0800 |
parents | 3647473b1de7 |
children |
rev | line source |
---|---|
153
8536e2005ba7
inherit from PythonSourceFactory
Jeff Hammel <jhammel@mozilla.com>
parents:
152
diff
changeset
|
1 from autobot.process.factory import PythonSourceFactory |
152
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
2 from buildbot.steps.shell import ShellCommand |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
3 from buildbot.steps.shell import WithProperties |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
4 |
153
8536e2005ba7
inherit from PythonSourceFactory
Jeff Hammel <jhammel@mozilla.com>
parents:
152
diff
changeset
|
5 class TestManifestdestiny(PythonSourceFactory): |
152
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
6 """ |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
7 test Mozilla test manifests |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
8 http://hg.mozilla.org/automation/ManifestDestiny/ |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
9 """ |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
10 |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
11 sources = {'hg': ['http://hg.mozilla.org/automation/ManifestDestiny/'], |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
12 'git': []} |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
13 |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
14 def __init__(self): |
154 | 15 PythonSourceFactory.__init__(self, name='manifestdestiny') |
152
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
16 |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
17 # run the tests |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
18 self.addStep(ShellCommand(command=[WithProperties('%(python)s'), |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
19 'test.py'], |
159
b4e1edfd49ee
* depend on a version of buildbot that has a slightly less broken version of gitpoller
Jeff Hammel <jhammel@mozilla.com>
parents:
154
diff
changeset
|
20 workdir=WithProperties('%(virtualenv)s/src/ManifestDestiny/tests'), |
152
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
21 description='test ManifestDestiny')) |
b1126ab39a4c
add a project to test manifestdestiny
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
22 |