mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
add a --faster option to ./mach test-tidy
which will - only check files changed since the last merge by bors - and skip the wpt-lint
This commit is contained in:
parent
b8e7cd71d6
commit
a9b8d47d5d
2 changed files with 32 additions and 9 deletions
|
@ -256,8 +256,10 @@ class MachCommands(CommandBase):
|
|||
@Command('test-tidy',
|
||||
description='Run the source code tidiness check',
|
||||
category='testing')
|
||||
def test_tidy(self):
|
||||
return tidy.scan()
|
||||
@CommandArgument('--faster', default=False, action="store_true",
|
||||
help="Only check changed files and skip the WPT lint")
|
||||
def test_tidy(self, faster):
|
||||
return tidy.scan(faster)
|
||||
|
||||
@Command('test-wpt-failure',
|
||||
description='Run the web platform tests',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue