make: run static_tests.sh directly with static-tests target #15667
make: run static_tests.sh directly with static-tests target #15667miri64 merged 3 commits intoRIOT-OS:masterfrom
static-tests target #15667Conversation
586f9d6 to
3c3a05d
Compare
|
Mhhh... |
3c3a05d to
b079797
Compare
|
hmmm I noticed the License check runs twice. Is it expected? |
Yes, they use two different diff filters. One for modified and renamed files, one for added and copied files. The first generates only a warning (the author of the change might not have introduced that license), the second generates an error, making the static tests fail. |
|
then, everything runs as expected :). Tried both in my laptop and Docker |
|
could you remove the bogus commit? |
jia200x
left a comment
There was a problem hiding this comment.
ACK. Please remove the bogus commit and let's wait for the CI
Done. |
b079797 to
9066ab2
Compare
|
Fixed an unrelated spelling error.... no idea why that file is even checked... |
Contribution description
This cleans up the
make static-teststarget to calldist/tools/ci/static_tests.shdirectly instead of first callingdist/tools/static-tests.shwhich calls./dist/tools/ci/build_and_test.shwhich then callsdist/tools/ci/static_tests.sh.The only point in doing it that way, is I believe, that ther is an (incomplete) dependency check in
dist/tools/static-tests.sh. That dependency check I improved and completed and moved it todist/tools/ci/static_tests.shand adapted it for the look and feel of that script.Testing procedure
Run
(also done by the
static-testsGitHub action). If you have any uninstalled dependency for those tests, the script will report that.Issues/PRs references
None