diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d5d0ddd223c29ee2997006b8928ae3269901b2d..2e893792e65f1c2eb74100b137e238514b86bf88 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ test: - scalfmm-build.log - scalfmm.lcov - scalfmm-coverage.xml - - scalfmm-cppcheck.xml + #- scalfmm-cppcheck.xml - scalfmm-rats.xml script: - source ./Utils/scripts/analysis.sh diff --git a/Utils/scripts/analysis.sh b/Utils/scripts/analysis.sh index 533a80e1977ab2ceaf1823933261bdf27483b605..147ef9042337a6d4e032c938215fa6b9b33f9c78 100644 --- a/Utils/scripts/analysis.sh +++ b/Utils/scripts/analysis.sh @@ -18,7 +18,7 @@ export SOURCES_TO_ANALYZE="Build/Src/ScalFmmConfig.h Examples Src Tests UTests" # run cppcheck analysis # commented for now because too long -cppcheck -v -f --language=c++ --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem -IBuild/Src ${SOURCES_TO_ANALYZE} 2> scalfmm-cppcheck.xml +#cppcheck -v -f --language=c++ --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem -IBuild/Src ${SOURCES_TO_ANALYZE} 2> scalfmm-cppcheck.xml # run rats analysis rats -w 3 --xml ${SOURCES_TO_ANALYZE} > scalfmm-rats.xml @@ -41,6 +41,6 @@ sonar.cxx.compiler.charset=UTF-8 sonar.cxx.compiler.regex=^(.*):(\\d+):\\d+: warning: (.*)\\[(.*)\\]$ sonar.cxx.compiler.reportPath=scalfmm-build.log sonar.cxx.coverage.reportPath=scalfmm-coverage.xml -sonar.cxx.cppcheck.reportPath=scalfmm-cppcheck.xml +#sonar.cxx.cppcheck.reportPath=scalfmm-cppcheck.xml sonar.cxx.rats.reportPath=scalfmm-rats.xml EOF