CTestCustom.cmake 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. # -*- mode: cmake -*-
  2. #message(" -- Read CTestCustom.cmake --")
  3. # -----------------------------------------------------------
  4. # -- Number of warnings to display
  5. # -----------------------------------------------------------
  6. #set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "999" )
  7. # -----------------------------------------------------------
  8. # -- Number of errors to display
  9. # -----------------------------------------------------------
  10. #set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "0" )
  11. # -----------------------------------------------------------
  12. # -- Maximum size of passed and failed tests output
  13. # -----------------------------------------------------------
  14. set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE "102400")
  15. set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE "102400")
  16. # -----------------------------------------------------------
  17. # -- Warning execptions
  18. # -----------------------------------------------------------
  19. set(CTEST_CUSTOM_WARNING_EXCEPTION
  20. ${CTEST_CUSTOM_WARNING_EXCEPTION}
  21. # -- doxygen warnings
  22. # "of command \@param is not found in the argument list of"
  23. # "for \\link command"
  24. # "for \\ref command"
  25. # "\\class statement"
  26. # "\\file statement"
  27. # "are not documented:"
  28. # "Skipping documentation"
  29. # "has a brief description"
  30. # -- CLHEP and Pluto warnings
  31. "/include/CLHEP/"
  32. "PDataBase.h"
  33. "PMesh.h"
  34. "PParticle.h"
  35. "PStaticData.h"
  36. "PUtils.h"
  37. "include/pluto/"
  38. # -- warnings from ubuntu systems which are a little to much
  39. # -- probably defined warn-unused-result. ignoring the result
  40. # -- of fgets is common practice. A work around would be to
  41. # -- store the return value in a dummy variable
  42. "ignoring return value of 'char* fgets(char*, int, FILE*)'"
  43. "ignoring return value of 'char* fscanf(char*, int, FILE*)'"
  44. # -- boost warnings
  45. "/include/boost/exception/exception.hpp:"
  46. "/include/boost/smart_ptr/detail/sp_convertible.hpp:"
  47. "/include/boost/smart_ptr/shared_ptr.hpp:"
  48. # -- Root warnings when installed in installation dir
  49. "/include/root/"
  50. # -- Root warnings which should not show up in the test setup
  51. "/include/G__ci.h:"
  52. "/include/TAttImage.h:"
  53. "/include/TBuffer.h:"
  54. "/include/TCollectionProxyInfo.h"
  55. "/include/TCut.h:"
  56. "/include/TChainElement.h:"
  57. "/include/TEveBoxSet.h:"
  58. "/include/TEveTrackPropagator.h:"
  59. "/include/TEveTrackPropagator.h:"
  60. "/include/TEveVector.h:"
  61. "/include/TFcnAdapter.h:"
  62. "/include/TFitterMinuit.h:"
  63. "/include/TGeoMatrix.h:"
  64. "/include/TGeoPainter.h:"
  65. "/include/TList.h:"
  66. "/include/TMap.h:"
  67. "/include/TMatrixT.h:"
  68. "/include/TMatrixTSym.h:"
  69. "/include/TMemberInspector.h:"
  70. "/include/TObjArray.h:"
  71. "/include/TRefArray.h:"
  72. "/include/TString.h:"
  73. "/include/Minuit2/BasicFunctionGradient.h:"
  74. "/include/Minuit2/MnUserParameterState.h:"
  75. "/include/Minuit2/StackAllocator.h:"
  76. "/include/TMVA/ClassInfo.h:"
  77. "/include/TMVA/Config.h:"
  78. "/include/TMVA/Configurable.h:"
  79. "/include/TMVA/DataInputHandler.h:"
  80. "/include/TMVA/DataSet.h:"
  81. "/include/TMVA/DataSetInfo.h:"
  82. "/include/TMVA/DataSetManager.h:"
  83. "/include/TMVA/Event.h:"
  84. "/include/TMVA/Factory.h:"
  85. "/include/TMVA/KDEKernel.h:"
  86. "/include/TMVA/Option.h:"
  87. "/include/TMVA/PDF.h:"
  88. "/include/TMVA/Reader.h:"
  89. "/include/TMVA/Types.h:"
  90. # -- Geant3 warnings
  91. "TGeant3/TGeant3.h:"
  92. "TGeant3/TGeant3TGeo.h:"
  93. # -- Errors which are filtered for the time being
  94. # -- MbsAPI is only a copy from elsewhere so don't know what to do
  95. "MbsAPI"
  96. "/MbsAPI/f_evcli.c"
  97. "FairTSBufferFunctional.*std::binary_function"
  98. )
  99. # -----------------------------------------------------------
  100. # -- Warning addon's
  101. # -----------------------------------------------------------
  102. set(CTEST_CUSTOM_WARNING_MATCH ${CTEST_CUSTOM_WARNING_MATCH}
  103. )
  104. Set (CTEST_CUSTOM_COVERAGE_EXCLUDE
  105. ".*Dict.h"
  106. ".*Dict.cxx"
  107. ".*GTest.*"
  108. )
  109. #Set (CTEST_CUSTOM_COVERAGE_EXCLUDE
  110. # "Dict.h"
  111. # "Dict.cxx"
  112. # )