-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[packchk] Add option to packchk
to fail if warning/info violations are detected
#886
Comments
@noahp, thanks a lot for your feedback and suggested enhancement.
|
That sounds perfect, exactly what I had in mind! |
I added option "--pedantic" to return 1 on WARNINGs and prepared for "--pedantic [warning|info]". As this extension touches (our own) widely used library ErrLog, I will postpone that extension for later. |
…pen-CMSIS-Pack#886 (Open-CMSIS-Pack#583) added: - option "--pedantic" (as bool), where packchk returns 1 on WARNINGs - prepared for "--pedantic [warning|info]", this would touch ErrLog library
…886 (#583) (#948) added: - option "--pedantic" (as bool), where packchk returns 1 on WARNINGs - prepared for "--pedantic [warning|info]", this would touch ErrLog library Co-authored-by: Thorsten de Buhr <[email protected]>
see latest packchk version 1.4.1 |
packchk
to fail if warning/info violations are detectedpackchk
to fail if warning/info violations are detected
Thank you so much! |
The
packchk
tool is amazing, very helpful! I noticed that only if Errors are detected does the tool return a non-zero error code. Could an option be added to also fail if any Warnings or Infos are detected? I'm using this workaround today but it's not the greatest:The text was updated successfully, but these errors were encountered: