Bug 1543007 - Restore ./mach test command;r=pbro
authorJulian Descottes <jdescottes@mozilla.com>
Tue, 09 Apr 2019 09:22:22 +0000
changeset 468502 0a00348d14b809cf657733726d375bb77166bf0d
parent 468501 d9f68f966c69c21dde433bf15870d9c4609c8d61
child 468503 38cc857655587a586a99ca61123ba7dbee7d17fa
push id82633
push userjdescottes@mozilla.com
push dateTue, 09 Apr 2019 09:22:52 +0000
treeherderautoland@0a00348d14b8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
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 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