Auto merge of #21056 - tigercosmos:ttt, r=jdm

improve test-tidy

check wpt manifest when run tidy

If CI has already run `test-tidy`, and then no need to run `etc/ci/manifest_changed.sh`

<!-- 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/21056)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-06-19 19:33:01 -04:00 committed by GitHub
commit 7f745139a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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',