Check WPT manifest when running test-tidy

This commit is contained in:
tigercosmos 2018-06-15 09:54:30 -07:00
parent 5c4f54c403
commit 80c41b4266
5 changed files with 3 additions and 22 deletions

View file

@ -319,7 +319,9 @@ class MachCommands(CommandBase):
if self_test:
return test_tidy.do_tests()
else:
return tidy.scan(not all_files, not no_progress, stylo=stylo)
manifest_dirty = run_update(self.context.topdir, check_clean=True)
tidy_failed = tidy.scan(not all_files, not no_progress, stylo=stylo)
return tidy_failed or manifest_dirty
@Command('test-webidl',
description='Run the WebIDL parser tests',