Bug 1543007 - Restore ./mach test command;r=pbro a=important-tooling-fix DONTBUILD NPOTB
authorJulian Descottes <jdescottes@mozilla.com>
Tue, 09 Apr 2019 09:22:22 +0000
changeset 468494 d6988a918ee495a0776e49ffa4d9e18b89b3dea0
parent 468493 98b223de054374a3fba8669750eed1a8b3247baa
child 468537 8e92ef0be5a1ad8c15beb01328780078760ecf19
child 468544 ed92a428d0e12037f9aa28297e59311fb31a195e
push id35840
push userarchaeopteryx@coole-files.de
push dateTue, 09 Apr 2019 11:19:11 +0000
treeherdermozilla-central@d6988a918ee4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro, important-tooling-fix
bugs1543007
milestone68.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 1543007 - Restore ./mach test command;r=pbro a=important-tooling-fix DONTBUILD NPOTB Differential Revision: https://phabricator.services.mozilla.com/D26661
testing/mach_commands.py
--- a/testing/mach_commands.py
+++ b/testing/mach_commands.py
@@ -200,16 +200,17 @@ class AddTest(MachCommandBase):
                            "Please set --suite=mochitest-chrome or --suite=mochitest-plain.")
                 elif has_chrome_ini:
                     guessed_suite = "mochitest-chrome"
                 elif has_plain_ini:
                     guessed_suite = "mochitest-plain"
         return guessed_suite, err
 
 
+@CommandProvider
 class Test(MachCommandBase):
     @Command('test', category='testing',
              description='Run tests (detects the kind of test and runs it).',
              parser=get_test_parser)
     def test(self, what, extra_args, **log_args):
         """Run tests from names or paths.
 
         mach test accepts arguments specifying which tests to run. Each argument