From baf369746b2674ccb99b94841f79785746af96a6 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Fri, 19 Jan 2018 13:25:41 +0100
Subject: [PATCH] disable cppcheck, it is far too long

---
 .gitlab-ci.yml            | 2 +-
 Utils/scripts/analysis.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d5d0ddd2..2e893792e 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 533a80e19..147ef9042 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
-- 
GitLab