view autobot/projects/mozbase/__init__.py @ 225:e4ba2231c36e

add a stub for the mozbase project
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 29 Nov 2011 15:52:38 -0800
parents
children dd5ab8b3d94b
line wrap: on
line source

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

class TestMozbase(SourceFactory):
    """
    Base utilties for mozilla test harnesses:
    https://github.com/mozilla/mozbase
    """

    sources = {'hg': ['https://github.com/mozilla/mozbase'],
               'git': []}
    
    def __init__(self, platform=None):
        SourceFactory.__init__(self, platform=platform)

        # checkout the repositories
        self.checkout()

        # run the tests [TODO]