mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #13087 - yoyo930021:new, r=Wafflespeanut
Need better description for mach subcommands #12402 <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #12402 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because is description <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13087) <!-- Reviewable:end -->
This commit is contained in:
commit
d807cc2727
1 changed files with 6 additions and 6 deletions
|
@ -338,7 +338,7 @@ class MachCommands(CommandBase):
|
|||
return run_globals["run_tests"](tests, verbose)
|
||||
|
||||
@Command('test-wpt-failure',
|
||||
description='Run the web platform tests',
|
||||
description='Run the tests harness that verifies that the test failures are reported correctly',
|
||||
category='testing')
|
||||
def test_wpt_failure(self):
|
||||
self.ensure_bootstrapped()
|
||||
|
@ -351,7 +351,7 @@ class MachCommands(CommandBase):
|
|||
], env=self.build_env())
|
||||
|
||||
@Command('test-wpt',
|
||||
description='Run the web platform tests',
|
||||
description='Run the regular web platform test suite',
|
||||
category='testing',
|
||||
parser=create_parser_wpt)
|
||||
def test_wpt(self, **kwargs):
|
||||
|
@ -403,7 +403,7 @@ class MachCommands(CommandBase):
|
|||
return run_globals["run_tests"](**kwargs)
|
||||
|
||||
@Command('update-manifest',
|
||||
description='run test-wpt --manifest-update SKIP_TESTS to regenerate MANIFEST.json',
|
||||
description='Run test-wpt --manifest-update SKIP_TESTS to regenerate MANIFEST.json',
|
||||
category='testing',
|
||||
parser=create_parser_wpt)
|
||||
def update_manifest(self, **kwargs):
|
||||
|
@ -463,7 +463,7 @@ class MachCommands(CommandBase):
|
|||
return self.jquery_test_runner("update", release, dev)
|
||||
|
||||
@Command('test-css',
|
||||
description='Run the web platform tests',
|
||||
description='Run the web platform CSS tests',
|
||||
category='testing',
|
||||
parser=create_parser_wpt)
|
||||
def test_css(self, **kwargs):
|
||||
|
@ -475,7 +475,7 @@ class MachCommands(CommandBase):
|
|||
return self.wptrunner(run_file, **kwargs)
|
||||
|
||||
@Command('update-css',
|
||||
description='Update the web platform tests',
|
||||
description='Update the web platform CSS tests',
|
||||
category='testing',
|
||||
parser=updatecommandline.create_parser())
|
||||
@CommandArgument('--patch', action='store_true', default=False,
|
||||
|
@ -494,7 +494,7 @@ class MachCommands(CommandBase):
|
|||
return run_globals["update_tests"](**kwargs)
|
||||
|
||||
@Command('compare_dromaeo',
|
||||
description='compare outputs of two runs of ./mach test-dromaeo command',
|
||||
description='Compare outputs of two runs of ./mach test-dromaeo command',
|
||||
category='testing')
|
||||
@CommandArgument('params', default=None, nargs="...",
|
||||
help=" filepaths of output files of two runs of dromaeo test ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue