Libraries using ign-cmake can use make codecheck to run cppcheck, but older libraries still rely on tools/code_check.sh. For that reason, Jenkins still uses code_check.sh, so even the new libraries need to have that script.
It would be good to use make codecheck for the libraries that support it, so that we can remove the custom script from them. This is becoming more pressing as the cppcheck results start to diverge.
Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).
Libraries using
ign-cmake
can usemake codecheck
to run cppcheck, but older libraries still rely ontools/code_check.sh
. For that reason, Jenkins still usescode_check.sh
, so even the new libraries need to have that script.It would be good to use
make codecheck
for the libraries that support it, so that we can remove the custom script from them. This is becoming more pressing as the cppcheck results start to diverge.