From: Martin Quinson Date: Thu, 31 Jan 2019 20:35:01 +0000 (+0100) Subject: Ignore Catch2 in sonar X-Git-Tag: v3_22~429 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/484d2e362212c0193ab0e4410d9bf779dcd8fdc1 Ignore Catch2 in sonar --- diff --git a/sonar-project.properties b/sonar-project.properties index 3ef152be61..4a768aa90b 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -99,13 +99,14 @@ sonar.issue.ignore.multicriteria.f1.ruleKey=cpp:S3630 sonar.issue.ignore.multicriteria.f1.resourceKey=src/smpi/bindings/smpi_f77*.cpp # Exclude some files from the analysis: -# - our unit tests +# - our unit tests # - the tests that we borrowed elsewhere (MPICH and ISP) # - Flex-generated files # - Collectives that we borrowed elsewhere (mpich, openMPI and other implems) # - the NAS, that are included in our examples +# - The Catch2 library, that is included in our unit tests # - RngStream, that is included in SimGrid -sonar.exclusions=src/*_unit.c*,teshsuite/smpi/mpich3-test/**,teshsuite/smpi/isp/**,**/*_dtd.c,**/*_dtd.h,**/*yy.c,src/xbt/automaton/parserPromela.tab.*,src/smpi/colls/**/*,examples/smpi/NAS/*,src/xbt/RngStream.c,include/xbt/RngStream.h +sonar.exclusions=src/include/catch.hpp,src/*_unit.c*,teshsuite/smpi/mpich3-test/**,teshsuite/smpi/isp/**,**/*_dtd.c,**/*_dtd.h,**/*yy.c,src/xbt/automaton/parserPromela.tab.*,src/smpi/colls/**/*,examples/smpi/NAS/*,src/xbt/RngStream.c,include/xbt/RngStream.h # Exclude our examples from the duplication detection. # Examples are expected to be somehow repetitive