view 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
line wrap: on
line source

from autobot.process.factory import PythonSourceFactory
from buildbot.steps.shell import ShellCommand
from buildbot.steps.shell import WithProperties

class TestManifestdestiny(PythonSourceFactory):
    """
    test Mozilla test manifests
    http://hg.mozilla.org/automation/ManifestDestiny/
    """

    sources = {'hg': ['http://hg.mozilla.org/automation/ManifestDestiny/'],
               'git': []}
    
    def __init__(self):
        PythonSourceFactory.__init__(self, name='manifestdestiny')

        # run the tests
        self.addStep(ShellCommand(command=[WithProperties('%(python)s'),
                                           'test.py'],
                                  workdir=WithProperties('%(virtualenv)s/src/ManifestDestiny/tests'),
                                  description='test ManifestDestiny'))