Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up./mach test-tidy --faster shouldn't display anything when the file list is empty #9778
Comments
KiChjang
commented
Feb 27, 2016
|
Code: |
|
Why? |
|
Because it is not run at all when using the --faster option. |
|
Damn, I forgot that! On the brighter side, it's a good first issue :) |
|
That was fixed in #9394 |
|
I just did a git pull from master and I still see the following:
|
|
@Ms2ger If there are no changes to the WPT files in the diff, then no files are generated, and so the lint doesn't run. |
|
In which case, we should instead change the --help message, it says the following for me:
|
|
No, if there are changes to the WPT files in the diff, then tidy does pass it to the lint. |
|
Mmm, nope - a better title would be... |
|
I would like to try this |
|
Go for it! |
|
I got a little confused, with the --faster should the tidy-test skip the WPT lint in tidy and display nothing if the file list is empty, or just skip the WPT lint in tidy as in the --help message? |
|
@zakorgy the former - don't display the messages when the file list is empty. For example, if the WPT lint gets an empty list, then we shouldn't show "Checking WPT..." message |
Fix ./mach test-tidy --faster issue issue #9778 <!-- 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/10074) <!-- Reviewable:end -->
|
This should be fixed by #10074. |