-# Language, needed for SonarQube < 4.2
-sonar.language=cpp,java,c
+# Exclude out unit tests from the analysis
+sonar.exclusions=src/*_unit.c,src/*_unit.cpp
+# Exclude the tests that we borrowed elsewhere
+sonar.exclusions=teshsuite/smpi/mpich3-test/*,teshsuite/smpi/isp/*