# HG changeset patch # User Jeff Hammel # Date 1295980017 28800 # Node ID b1126ab39a4cbcb161b90a955c5164f441a54519 # Parent 700693fad00a2cec46c32d776c72c097f88b213e add a project to test manifestdestiny diff -r 700693fad00a -r b1126ab39a4c autobot/projects/manifestdestiny/__init__.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/autobot/projects/manifestdestiny/__init__.py Tue Jan 25 10:26:57 2011 -0800 @@ -0,0 +1,24 @@ +from autobot.process.factory import SourceFactory +from buildbot.steps.shell import ShellCommand +from buildbot.steps.shell import WithProperties + +class TestManifestdestiny(SourceFactory): + """ + test Mozilla test manifests + http://hg.mozilla.org/automation/ManifestDestiny/ + """ + + sources = {'hg': ['http://hg.mozilla.org/automation/ManifestDestiny/'], + 'git': []} + + def __init__(self): + SourceFactory.__init__(self) + + self.checkout() + + # run the tests + self.addStep(ShellCommand(command=[WithProperties('%(python)s'), + 'test.py'], + workdir=WithProperties('%(virtualenv)s/src/ManifestDestiny/manifestdestiny/tests'), + description='test ManifestDestiny')) +