Commit c0bf67ee authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

use max configs =1 to limit the number of preprocessors configs

parent 951bb887
Pipeline #23387 canceled with stages
in 3 minutes and 21 seconds
......@@ -3,7 +3,7 @@
export CPPCHECK_INCLUDES="-Ibuild/src/libpampa -Isrc/libpampa -Isrc/pampa-remesh -Isrc/samples/C/include -Isrc/remeshers/gmsh -Isrc/remeshers/tetgen -Isrc/remeshers/common -Isrc/remeshers/mmg3d/libpampa-mmg3d4 -Isrc/remeshers/mmg3d/libpampa-mmg3d"
cppcheck -j4 -v --force --language=c --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem ${CPPCHECK_INCLUDES} ${SOURCES_TO_ANALYZE} 2> scotch-cppcheck.xml
cppcheck -v -f --max-configs=1 --language=c --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem ${CPPCHECK_INCLUDES} ${SOURCES_TO_ANALYZE} 2> scotch-cppcheck.xml
rats -w 3 --xml ${SOURCES_TO_ANALYZE} > scotch-rats.xml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment