mirror of
https://github.com/servo/servo.git
synced 2025-06-17 04:44:28 +00:00
Auto merge of #11516 - DDEFISHER:master, r=metajack
add update-manifest command - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11369 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11516) <!-- Reviewable:end -->
This commit is contained in:
commit
1e968b0d3f
2 changed files with 21 additions and 0 deletions
|
@ -347,6 +347,15 @@ class MachCommands(CommandBase):
|
|||
execfile(run_file, run_globals)
|
||||
return run_globals["run_tests"](**kwargs)
|
||||
|
||||
@Command('update-manifest',
|
||||
description='run test-wpt --manifest-update SKIP_TESTS to regenerate MANIFEST.json',
|
||||
category='testing',
|
||||
parser=create_parser_wpt)
|
||||
def update_manifest(self, **kwargs):
|
||||
kwargs['test_list'].append(str('SKIP_TESTS'))
|
||||
kwargs['manifest_update'] = True
|
||||
return self.test_wpt(**kwargs)
|
||||
|
||||
@Command('update-wpt',
|
||||
description='Update the web platform tests',
|
||||
category='testing',
|
||||
|
|
|
@ -181,3 +181,15 @@ tool written for gecko reftests.
|
|||
The reftest analyzer allows pixel-level comparison of the test and reference
|
||||
screenshots. Tests that both fail and have an unexpected result are marked
|
||||
with a `!`.
|
||||
|
||||
Updating the WPT manifest
|
||||
=========================
|
||||
|
||||
MANIFEST.json can be regenerated automatically with the mach command `update-manifest` e.g.
|
||||
|
||||
./mach update-manifest
|
||||
|
||||
This is equivalent to running
|
||||
|
||||
./mach test-wpt --manifest-update SKIP_TESTS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue