Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / sonar-project.properties
index 00c6270..933fb1f 100644 (file)
@@ -16,12 +16,21 @@ sonar.sources=src,examples,include,teshsuite
 #  - our unit tests 
 #  - the tests that we borrowed elsewhere (MPICH and ISP)
 #  - Flex-generated files
-sonar.exclusions=src/*_unit.c*,teshsuite/smpi/mpich3-test/*,teshsuite/smpi/isp/*,**/*_dtd.c
-
+#  - Collectives that we borrowed elsewhere (mpich, openMPI and other implems)
+#  - the NAS, that are included in our examples
+sonar.exclusions=src/*_unit.c*,teshsuite/smpi/mpich3-test/**,teshsuite/smpi/isp/**,**/*_dtd.c,src/smpi/colls/*,examples/smpi/NAS/*
 # Ignore files that are generated from Flex
 sonar.issue.ignore.allfile=flexGenerated
 sonar.issue.ignore.allfile.flexGenerated.fileRegexp="generated by flex"
 
+# Ignore the files that SMPI scavenged here and there (not working)
+#sonar.issue.ignore.allfile=mpiColls
+#sonar.issue.ignore.allfile.flexGenerated.mpiColls="Ahmad Faraj"
+#sonar.issue.ignore.allfile=mpivapich
+#sonar.issue.ignore.allfile.flexGenerated.mpivapich="This file is part of the MVAPICH2 software package"
+#sonar.issue.ignore.allfile=mpiOmpi
+#sonar.issue.ignore.allfile.flexGenerated.mpiOmpi="University of Tennessee"
+
 # The build-wrapper output dir
 sonar.cfamily.build-wrapper-output=bw-outputs
 
@@ -30,6 +39,10 @@ sonar.sourceEncoding=UTF-8
 
 sonar.cpp.std=gnu++11
 sonar.c.std=gnu11
+sonar.java.source=7
+
+# Disable the whole logging mechanism during SonarQube analysis
+sonar.cfamily.predefinedMacros=XBT_LOG_MAYDAY
 
 # Talk to me (travis don't like it, it's too much)
 # sonar.verbose=true