changeset 56:0873bb51db09

logparser now works; now for profilemanager
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 10 Jan 2011 14:57:39 -0800
parents c2a01aae1341
children a2fc7a08ec5c
files autobot/projects/logparser/__init__.py autobot/projects/profilemanager/__init__.py
diffstat 2 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/projects/logparser/__init__.py	Mon Jan 10 14:49:59 2011 -0800
+++ b/autobot/projects/logparser/__init__.py	Mon Jan 10 14:57:39 2011 -0800
@@ -9,13 +9,10 @@
   """
   def __init__(self):
 
-    # setup the environment
+    # setup the environment and install the python
     PythonSourceFactory.__init__(self, name='logparser',
                                  hg_sources=['http://hg.mozilla.org/automation/logparser/'])
 
-    # install the python
-    # TODO: utilize PythonSourceFactory
-
     # run the tests
-    self.addStep(ShellCommand(command=['python'],
+    self.addStep(ShellCommand(command=['python', 'test_logparser.py'],
                               workdir=WithProperties('%(virtualenv)s/src/logparser/logparser')))
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/autobot/projects/profilemanager/__init__.py	Mon Jan 10 14:57:39 2011 -0800
@@ -0,0 +1,9 @@
+from buildbot.process.factory import BuildFactory
+from buildbot.steps.shell import ShellCommand
+
+class TestProfileManager(BuildFactory):
+
+    def __init__(self):
+
+        # get mozilla central
+