mirror of
https://github.com/servo/servo.git
synced 2025-06-14 11:24:33 +00:00
add update-manifest command
This commit is contained in:
parent
c017438428
commit
04b062b2fb
2 changed files with 21 additions and 0 deletions
|
@ -334,6 +334,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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue