-
Notifications
You must be signed in to change notification settings - Fork 277
Make cpplint check actually work in CI #5929
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
Conversation
87aa410
to
3c14f05
Compare
efc7cb5
to
9ae6596
Compare
check-cpplint is now working again, as can be seen in https://github.com/diffblue/cbmc/pull/5929/checks?check_run_id=2112286038. |
Codecov Report
@@ Coverage Diff @@
## develop #5929 +/- ##
========================================
Coverage 74.23% 74.23%
========================================
Files 1431 1431
Lines 155291 155291
========================================
Hits 115287 115287
Misses 40004 40004 Continue to review full report at Codecov.
|
9ae6596
to
5a39fb1
Compare
Regression tests are now also enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two questions from me.
7ff19f6
to
14f1c99
Compare
The Python script silently failed when invoked from run_diff.sh, which redirects stdout to a file, when unidiff was not available.
Using Python 3 (as is the default GitHub's Ubuntu 20.04) requires merging changes from https://github.com/cpplint/cpplint, which is a larger undertaking.
This check cannot be disabled.
We have regression tests for cpplint.py, and should perhaps have used them to avoid silently failing.
14f1c99
to
a5b3008
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The Python script silently failed when invoked from run_diff.sh, which
redirects stdout to a file, when unidiff was not available.
Leaving in Draft state while debugging seeming silent failures of the cpplint action.