Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b928bfa4 authored by ESTERIE Pierre's avatar ESTERIE Pierre
Browse files

Fix src analysis for SonarQube

parent fcd544d4
No related branches found
No related tags found
No related merge requests found
Pipeline #77195 passed
......@@ -17,7 +17,7 @@ export SOURCES_TO_ANALYZE="include src Examples Tests UTests"
# run cppcheck analysis
# commented for now because too long
export CPPCHECK_INCLUDES="-IBuild/include -Iinclude -IContribs"
export CPPCHECK_INCLUDES="-IBuild/include -Iinclude"
export SOURCES_TO_ANALYZE="src Examples Tests UTests"
export CPPCHECK_UNDEF="-USCALFMM_USE_AVX -USCALFMM_USE_AVX2 -USCALFMM_USE_SSE -USCALFMM_USE_EZTRACE -USCALFMM_BLAS_NOCHANGE -USCALFMM_BLAS_UPCASE -U__AVXPE_INTEL_COMPILER -U__INTEL_COMPILER -U__MIC__ -U__SSEPE_INTEL_COMPILER -U__SSSE3__ -U__SSSE4_1__ -U_WIN32 -Uming -U_MSC_VER -U__IBMCPP__ -U__PGI -U__SUNPRO_CC -U__clang__ -U__APPLE__ -U__HP_aCC -U__HP_cc -U__ICC"
cppcheck -v -f --language=c++ --std=c++14 --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem ${CPPCHECK_UNDEF} ${CPPCHECK_INCLUDES} ${SOURCES_TO_ANALYZE} 2> scalfmm-cppcheck.xml
......@@ -37,9 +37,9 @@ sonar.projectDescription=C++ library that implements a kernel independent Fast M
sonar.projectVersion=2.0
sonar.language=c++
sonar.sourceEncoding=UTF-8
sonar.sources=Examples, Src, Tests, UTests
sonar.exclusions=Src/Kernels/FKernelConcepts.hpp, Tests/noDist/PerfTest/TestDriver.hpp
sonar.cxx.includeDirectories=$(echo | gcc -E -Wp,-v - 2>&1 | grep "^ " | tr '\n' ',')Build/Src,Src,Contribs
sonar.sources=Examples, src, Tests, UTests
sonar.exclusions=include/Kernels/FKernelConcepts.hpp, Tests/noDist/PerfTest/TestDriver.hpp
sonar.cxx.includeDirectories=$(echo | gcc -E -Wp,-v - 2>&1 | grep "^ " | tr '\n' ',')Build/include
sonar.cxx.compiler.charset=UTF-8
sonar.cxx.compiler.regex=^(.*):(\\\d+):\\\d+: warning: (.*)\\\[(.*)\\\]$
sonar.cxx.compiler.reportPath=scalfmm-build.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment