X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2fe56becb7b12edd78788a83dbc1d3e1d85d9dbc..01beddc9270eba3a6dff3e3eb6d9a8c4a9f87780:/sonar-project.properties diff --git a/sonar-project.properties b/sonar-project.properties index 2ee090da42..099ea05c53 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -17,8 +17,8 @@ sonar.sources=src,examples,include,teshsuite # - the tests that we borrowed elsewhere (MPICH and ISP) # - Flex-generated files # - Collectives that we borrowed elsewhere (mpich, openMPI and other implems) -sonar.exclusions=src/*_unit.c*,teshsuite/smpi/mpich3-test/*,teshsuite/smpi/isp/*,**/*_dtd.c,src/smpi/colls/* - +# - 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" @@ -37,11 +37,10 @@ sonar.cfamily.build-wrapper-output=bw-outputs # Encoding of the source files 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 +# Disable the whole logging mechanism during SonarQube analysis (our logging macro are crude, but should not harm Sonar) +sonar.cfamily.predefinedMacros=#define XBT_LOG_MAYDAY # Talk to me (travis don't like it, it's too much) # sonar.verbose=true