diff --git a/.gitlab/analysis.sh b/.gitlab/analysis.sh index 1bdaeb17a1f371c40f0ed607be333a80eedd41bd..10bc3bdd276701e9020ef51d5d3492a9a24ea844 100755 --- a/.gitlab/analysis.sh +++ b/.gitlab/analysis.sh @@ -31,7 +31,7 @@ git ls-files | grep "\.[ch]$" > filelist.txt export UNDEFINITIONS="-UWIN32 -UWIN64 -U_MSC_EXTENSIONS -U_MSC_VER -U__SUNPRO_C -U__SUNPRO_CC -U__sun -Usun -U__cplusplus" # run cppcheck analysis -cppcheck -v -f --project=build/compile_commands.json --language=c --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingInclude ${UNDEFINITIONS} ${DEFINITIONS} 2> hqr-cppcheck.xml +cppcheck -v -f --project=build/compile_commands.json --language=c --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem ${UNDEFINITIONS} ${DEFINITIONS} 2> hqr-cppcheck.xml # run rats analysis rats -w 3 --xml `cat filelist.txt` > hqr-rats.xml