зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1586027 - Improve help for 'mach test-info'; r=bc
Adds 'tests' sub-command for 'mach test-info'. 'mach help test-info' shows all sub-commands. 'mach help test-info <subcommand>' shows sub-command descriptions, including help for the options previously excluded. Differential Revision: https://phabricator.services.mozilla.com/D48079 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a61a7cc10b
Коммит
66ce37dbd1
|
@ -664,7 +664,14 @@ class TestInfoCommand(MachCommandBase):
|
|||
from datetime import date, timedelta
|
||||
|
||||
@Command('test-info', category='testing',
|
||||
description='Display historical test result summary.')
|
||||
description='Display historical test results.')
|
||||
def test_info(self):
|
||||
"""
|
||||
All functions implemented as subcommands.
|
||||
"""
|
||||
|
||||
@SubCommand('test-info', 'tests',
|
||||
description='Display historical test result summary for named tests.')
|
||||
@CommandArgument('test_names', nargs=argparse.REMAINDER,
|
||||
help='Test(s) of interest.')
|
||||
@CommandArgument('--branches',
|
||||
|
@ -690,7 +697,7 @@ class TestInfoCommand(MachCommandBase):
|
|||
help='Retrieve and display related Bugzilla bugs.')
|
||||
@CommandArgument('--verbose', action='store_true',
|
||||
help='Enable debug logging.')
|
||||
def test_info(self, **params):
|
||||
def test_info_tests(self, **params):
|
||||
from mozbuild.base import MozbuildObject
|
||||
from mozfile import which
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче