comparison 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
comparison
equal deleted inserted replaced
275:22bb1ac50eb7 276:a79c12daf9d7
1 from buildbot.process.factory import BuildFactory 1 from autobot.process.factory import SourceFactory
2 from buildbot.steps.shell import ShellCommand 2 from buildbot.steps.shell import ShellCommand
3 3
4 class TestProfileManager(BuildFactory): 4 class TestProfileManager(SourceFactory):
5 """ 5 """
6 Test the ProfileManager standalone XUL application: 6 Test the ProfileManager standalone XUL application:
7 http://hg.mozilla.org/automation/profilemanager/ 7 http://hg.mozilla.org/automation/profilemanager/
8 """ 8 """
9 9
10 sources = {'hg': ['http://hg.mozilla.org/automation/profilemanager/']}
10 11
11 def __init__(self): 12 def __init__(self):
12 13
13 BuildFactory.__init__(self) 14 SourceFactory.__init__(self)
14 15
15 # install m-c + profilemanager 16 # install m-c + profilemanager
16 self.addStep(ShellCommand(command=['wget', 'http://hg.mozilla.org/automation/profilemanager/raw-file/tip/INSTALL.py'])) 17 # self.addStep(ShellCommand(command=['python', 'INSTALL.py']))
17 self.addStep(ShellCommand(command=['python', 'INSTALL.py']))
18 18
19 # get mozilla central 19 # get mozilla central
20 # self.addStep(ShellCommand(command=['hg', 'clone', 'http://hg.mozilla.org/mozilla-central'])) 20 # self.addStep(ShellCommand(command=['hg', 'clone', 'http://hg.mozilla.org/mozilla-central']))
21 21
22 # get profilemanager 22 # get profilemanager