servo: Merge #11516 - add update-manifest command (from DDEFISHER:master); r=metajack

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11369

Source-Repo: https://github.com/servo/servo
Source-Revision: 1e968b0d3f72199d69f35831bcc9e8ed7d4bbc33
This commit is contained in:
Daniel 2016-06-06 22:54:13 -05:00
Родитель dc88975755
Коммит 366c4ddf00
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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',