view autobot/projects/profilemanager/__init__.py @ 276:a79c12daf9d7

hopefully fix profilemanager factory
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 31 Jul 2012 14:35:32 -0700
parents 7d0a4c2cd171
children
line wrap: on
line source

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

class TestProfileManager(SourceFactory):
    """
    Test the ProfileManager standalone XUL application:
    http://hg.mozilla.org/automation/profilemanager/
    """

    sources = {'hg': ['http://hg.mozilla.org/automation/profilemanager/']}

    def __init__(self):

        SourceFactory.__init__(self)

        # install m-c + profilemanager
#        self.addStep(ShellCommand(command=['python', 'INSTALL.py']))

        # get mozilla central
#        self.addStep(ShellCommand(command=['hg', 'clone', 'http://hg.mozilla.org/mozilla-central']))

        # get profilemanager
#        self.addStep(ShellCommand(command=['hg', 'clone', 'http://hg.mozilla.org/automation/profilemanager'],
#                                  haltOnFailure=True))