Bug 1202019 - Remove old Jetpack test command. r=Mossop
authorJ. Ryan Stinnett <jryans@gmail.com>
Fri, 04 Sep 2015 16:16:50 -0500
changeset 260987 e240f2db0b466d4bf15fa45654fcf9aa5a7e1db2
parent 260986 2f603ba0aaaaea0168bb2715b9ef609ab92dfaff
child 260988 5c7e00de3742f83394078fa5d53617757e878dc7
push id29331
push userphilringnalda@gmail.com
push dateSun, 06 Sep 2015 03:12:21 +0000
treeherdermozilla-central@75a3e5f74746 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMossop
bugs1202019
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1202019 - Remove old Jetpack test command. r=Mossop
addon-sdk/mach_commands.py
--- a/addon-sdk/mach_commands.py
+++ b/addon-sdk/mach_commands.py
@@ -7,44 +7,26 @@
 from __future__ import absolute_import
 
 import os
 
 import mozpack.path as mozpath
 
 from mozbuild.base import (
     MachCommandBase,
-    MozbuildObject,
 )
 
 from mach.decorators import (
     CommandArgument,
     CommandProvider,
     Command,
 )
 
-class JetpackRunner(MozbuildObject):
-    """Run jetpack tests."""
-    def run_tests(self, **kwargs):
-        self._run_make(target='jetpack-tests')
-
 @CommandProvider
 class MachCommands(MachCommandBase):
-    @Command('jetpack-test', category='testing',
-        description='Run the jetpack test suite (Add-on SDK).')
-    def run_jetpack_test(self, **params):
-        # We should probably have a utility function to ensure the tree is
-        # ready to run tests. Until then, we just create the state dir (in
-        # case the tree wasn't built with mach).
-        self._ensure_state_subdir_exists('.')
-
-        jetpack = self._spawn(JetpackRunner)
-
-        jetpack.run_tests(**params)
-
     @Command('generate-addon-sdk-moz-build', category='misc',
         description='Generates the moz.build file for the addon-sdk/ directory.')
     def run_addon_sdk_moz_build(self, **params):
         addon_sdk_dir = mozpath.join(self.topsrcdir, 'addon-sdk')
         js_src_dir = mozpath.join(addon_sdk_dir, 'source/lib')
         dirs_to_files = {}
 
         for path, dirs, files in os.walk(js_src_dir):