vera++: remove non-zero exit code#13403
Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom Feb 19, 2020
Merged
Conversation
Member
|
or as alternative agree on #13400 |
Contributor
|
It's not just the long lines though. uint32_t reg = OSCCTRL_DFLLCTRLB_QLDIS
#ifdef OSCCTRL_DFLLCTRLB_WAITLOCK
| OSCCTRL_DFLLCTRLB_WAITLOCK
#endif
;And there is quite some churn for PRs that touch many files, like #13409 |
benpicco
approved these changes
Feb 19, 2020
Contributor
benpicco
left a comment
There was a problem hiding this comment.
given how many PRs are affected by this, I'd vote for it until we come up with a policy on how to handle those issues.
Member
|
Our usual way to handle new check tools, so I agree with @benpicco |
Contributor
|
Looks like Vera is back already… |
Member
|
Could you name a specific PR, please? Not sure which PR you are referring to. All PRs I've checked had either a pass by vera++ (a green tick after the script... it still shows some errors though) or timed out static tests (see #13426). |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
As pointed out in #13400 (comment), Vera++ is producing several errors for existing code.
In order to ease the migration, I propose to move remove the non-zero exit code for Vera++, fix all issues found by Vera++ (similar to #12558) and then re enable it back.
This PR basically tells Vera++ to always exit with error code 0. Errors and warning are still displayed in Travis.
Testing procedure
Issues/PRs references
#12558