mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Remove allow_all_args from mach commands
This commit is contained in:
parent
850da49846
commit
8cb7a6842f
3 changed files with 10 additions and 19 deletions
|
@ -55,8 +55,7 @@ class MachCommands(CommandBase):
|
|||
|
||||
@Command('test-unit',
|
||||
description='Run unit tests',
|
||||
category='testing',
|
||||
allow_all_args=True)
|
||||
category='testing')
|
||||
@CommandArgument('test_name', default=None, nargs="...",
|
||||
help="Only run tests that match this pattern")
|
||||
def test_unit(self, test_name=None):
|
||||
|
@ -113,8 +112,7 @@ class MachCommands(CommandBase):
|
|||
|
||||
@Command('test-content',
|
||||
description='Run the content tests',
|
||||
category='testing',
|
||||
allow_all_args=True)
|
||||
category='testing')
|
||||
@CommandArgument('test_name', default=None, nargs="?",
|
||||
help="Only run tests that match this pattern")
|
||||
def test_content(self, test_name=None):
|
||||
|
@ -142,8 +140,7 @@ class MachCommands(CommandBase):
|
|||
|
||||
@Command('test-wpt',
|
||||
description='Run the web platform tests',
|
||||
category='testing',
|
||||
allow_all_args=True)
|
||||
category='testing')
|
||||
@CommandArgument(
|
||||
'params', default=None, nargs='...',
|
||||
help="Command-line arguments to be passed through to wpt/run.sh")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue