changeset 292:22a9f89adf6c

remove obselete
author Jeff Hammel <k0scist@gmail.com>
date Tue, 15 Apr 2014 22:17:23 -0700
parents db20e7be2576
children 7bca6b5ecd90
files autobot/projects/logparser/__init__.py autobot/projects/mozbase/__init__.py autobot/projects/mozmill/__init__.py autobot/projects/profilemanager/__init__.py autobot/projects/talos/__init__.py
diffstat 5 files changed, 0 insertions(+), 145 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/projects/logparser/__init__.py	Tue Apr 15 22:16:34 2014 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-from autobot.process.factory import PythonSourceFactory
-from buildbot.steps.shell import ShellCommand
-from buildbot.steps.shell import WithProperties
-
-class TestLogParserFactory(PythonSourceFactory):
-  """
-  factory to test the Mozilla log parser:
-  http://hg.mozilla.org/automation/logparser/
-  """
-
-  sources = {'hg': 'http://hg.mozilla.org/automation/logparser/'}
-
-  def __init__(self):
-
-    # setup the environment and install the python
-    PythonSourceFactory.__init__(self, name='logparser')
-
-    # run the tests
-    self.addStep(ShellCommand(command=[WithProperties('%(python)s'), 'test_logparser.py'],
-                              workdir=WithProperties('%(virtualenv)s/src/logparser/logparser'),
-                              description='test logparser'))
--- a/autobot/projects/mozbase/__init__.py	Tue Apr 15 22:16:34 2014 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-from autobot.process.factory import VirtualenvFactory
-from buildbot.steps.shell import ShellCommand
-from buildbot.steps.shell import WithProperties
-
-class TestMozbase(VirtualenvFactory):
-    """
-    Base utilties for mozilla test harnesses:
-    https://github.com/mozilla/mozbase
-    """
-
-    sources = {'git': ['git://github.com/mozilla/mozbase.git'],
-               'hg': []}
-
-    def __init__(self, platform=None, git=None):
-        VirtualenvFactory.__init__(self, git=git)
-
-        # setup for development
-        self.addStep(ShellCommand(command=[WithProperties('%(python)s'), 'setup_development.py'], workdir=WithProperties('%(virtualenv)s/src/mozbase')))
-
-        # add %(scripts)s to $PATH
-        self.addScripts()
-
-        # run the tests
-        self.addStep(ShellCommand(command=[WithProperties('%(python)s'), 'test.py'], workdir=WithProperties('%(virtualenv)s/src/mozbase'),
-                     env={'PATH': WithProperties('%(PATH)s')}))
--- a/autobot/projects/mozmill/__init__.py	Tue Apr 15 22:16:34 2014 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-from autobot.process.factory import FirefoxDownloaderFactory
-from autobot.process.factory import VirtualenvFactory
-from buildbot.steps.shell import ShellCommand
-from buildbot.steps.shell import WithProperties
-
-class TestMozmillFactory(VirtualenvFactory, FirefoxDownloaderFactory):
-  """
-  factory to test Mozmill
-  http://github.com/mozautomation/mozmill
-  """
-
-  # VCS
-  sources = {'git': ['http://github.com/mozautomation/mozmill.git']}
-  
-  def __init__(self, platform, git=None, firefox_url=None,
-               tests='http://hg.mozilla.org/qa/mozmill-tests'):
-
-    # setup the environment
-    VirtualenvFactory.__init__(self, name='mozmill', git=git)
-                               
-    # currently, mozmill-tests are dealt with separately here
-    # this is to avoid having mozmill depend on them or their changes
-    # ideally, these would be even more specifiable
-
-    # install mozmill in development mode
-    # TODO: also install mozmill in `install` mode to ensure we didn't break that
-    self.addStep(ShellCommand(command=[WithProperties('%(python)s'), 'setup_development.py'],
-                              workdir=WithProperties('%(virtualenv)s/src/mozmill'),
-                              description='setup_development.py'
-                              ))
-
-    # ensure mozmill works at all
-    self.findScript('mozmill')
-    self.addStep(ShellCommand(command=[WithProperties('%(mozmill)s'), '--help'],
-                              description='mozmill --help'))
-    
-    # get firefox
-    FirefoxDownloaderFactory.__init__(self, platform=platform, base_url=firefox_url)
-
-    # run the in-built tests
-    self.findScript('mutt')
-    self.addStep(ShellCommand(command=[WithProperties('%(mutt)s'),
-                                       '-b', WithProperties('%(firefox)s')],
-                              description='run mozmill internal tests'))
-
-    # get the QA tests
-    test_dir = tests.rsplit('/', 1)[-1]
-    self.addStep(ShellCommand(command=['rm', '-rf', test_dir]))
-    self.addStep(ShellCommand(command=['hg', 'clone', tests]))
-
-    # run the QA tests
-    
-    # [TODO]
--- a/autobot/projects/profilemanager/__init__.py	Tue Apr 15 22:16:34 2014 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-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))
--- a/autobot/projects/talos/__init__.py	Tue Apr 15 22:16:34 2014 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-from autobot.process.factory import SourceFactory
-from buildbot.steps.shell import ShellCommand
-from buildbot.steps.shell import WithProperties
-
-class TestTalos(SourceFactory):
-    """
-    test the talos performance tester:
-    http://hg.mozilla.org/build/talos
-    """
-
-    sources = {'hg': ['http://hg.mozilla.org/build/talos'],
-               'git': []}
-    
-    def __init__(self):
-        SourceFactory.__init__(self)
-
-        # install the software [TODO]
-        self.addStep(ShellCommand(command=['wget', 'http://k0s.org/mozilla/install-talos.sh']))
-        self.addStep(ShellCommand(command=['bash', 'install-talos.sh']))
-
-        # run the tests [TODO]
-