view autobot/projects/profilemanager/__init__.py @ 130:7d0a4c2cd171

call the superclass __init__
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 23 Jan 2011 10:57:43 -0800
parents 33fd34a75990
children a79c12daf9d7
line wrap: on
line source

from buildbot.process.factory import BuildFactory
from buildbot.steps.shell import ShellCommand

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


    def __init__(self):

        BuildFactory.__init__(self)

        # install m-c + profilemanager
        self.addStep(ShellCommand(command=['wget', 'http://hg.mozilla.org/automation/profilemanager/raw-file/tip/INSTALL.py']))
        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))