view autobot/projects/project.template @ 189:cb9ad0b04140

preliminary passing of platform information from slaves; not yet tested
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 02 Feb 2011 09:11:28 -0800
parents 21f07648ef88
children 714a7a7f4ea7
line wrap: on
line source

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

class Test{{project.title()}}(SourceFactory):
    """
    {{description}}:
    {{repo}}
    """

    sources = {'hg': ['{{repo}}'],
               'git': []}
    
    def __init__(self, platform=None):
        SourceFactory.__init__(self, platform=platform)

        # checkout the repositories
        self.checkout()

        # run the tests [TODO]