1 ################################################################################
2 # Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
4 # This software is distributed under the terms of the #
5 # GNU Lesser General Public Licence version 3 (LGPL) version 3, #
6 # copied verbatim in the file "LICENSE" #
7 ################################################################################
10 #message(" -- Read CTestCustom.cmake --")
12 # -----------------------------------------------------------
13 # -- Number of warnings to display
14 # -----------------------------------------------------------
16 set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "500" )
18 # -----------------------------------------------------------
19 # -- Number of errors to display
20 # -----------------------------------------------------------
22 set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "50" )
24 # -----------------------------------------------------------
25 # -- Warning execptions
26 # -----------------------------------------------------------
28 set(CTEST_CUSTOM_WARNING_EXCEPTION
29 ${CTEST_CUSTOM_WARNING_EXCEPTION}
32 # "of command \@param is not found in the argument list of"
33 # "for \\link command"
37 # "are not documented:"
38 # "Skipping documentation"
39 # "has a brief description"
41 # -- CLHEP and Pluto warnings
50 # -- warnings from ubuntu systems which are a little to much
51 # -- probably defined warn-unused-result. ignoring the result
52 # -- of fgets is common practice. A work around would be to
53 # -- store the return value in a dummy variable
54 "ignoring return value of 'char* fgets(char*, int, FILE*)'"
55 "ignoring return value of 'char* fscanf(char*, int, FILE*)'"
58 "/include/boost/exception/exception.hpp:"
59 "/include/boost/smart_ptr/detail/sp_convertible.hpp:"
60 "/include/boost/smart_ptr/shared_ptr.hpp:"
63 # -- Root warnings when installed in installation dir
65 # -- Root warnings which should not show up in the test setup
67 "/include/TAttImage.h:"
69 "/include/TCollectionProxyInfo.h"
71 "/include/TChainElement.h:"
72 "/include/TEveBoxSet.h:"
73 "/include/TEveTrackPropagator.h:"
74 "/include/TEveTrackPropagator.h:"
75 "/include/TEveVector.h:"
76 "/include/TFcnAdapter.h:"
77 "/include/TFitterMinuit.h:"
78 "/include/TGeoMatrix.h:"
79 "/include/TGeoPainter.h:"
82 "/include/TMatrixT.h:"
83 "/include/TMatrixTSym.h:"
84 "/include/TMemberInspector.h:"
85 "/include/TObjArray.h:"
86 "/include/TRefArray.h:"
88 "/include/Minuit2/BasicFunctionGradient.h:"
89 "/include/Minuit2/MnUserParameterState.h:"
90 "/include/Minuit2/StackAllocator.h:"
91 "/include/TMVA/ClassInfo.h:"
92 "/include/TMVA/Config.h:"
93 "/include/TMVA/Configurable.h:"
94 "/include/TMVA/DataInputHandler.h:"
95 "/include/TMVA/DataSet.h:"
96 "/include/TMVA/DataSetInfo.h:"
97 "/include/TMVA/DataSetManager.h:"
98 "/include/TMVA/Event.h:"
99 "/include/TMVA/Factory.h:"
100 "/include/TMVA/KDEKernel.h:"
101 "/include/TMVA/Option.h:"
102 "/include/TMVA/PDF.h:"
103 "/include/TMVA/Reader.h:"
104 "/include/TMVA/Types.h:"
108 "TGeant3/TGeant3TGeo.h:"
110 # -- Errors which are filtered for the time being
111 # -- MbsAPI is only a copy from elsewhere so don't know what to do
114 "FairTSBufferFunctional.*std::binary_function"
117 # -----------------------------------------------------------
119 # -----------------------------------------------------------
120 set(CTEST_CUSTOM_WARNING_MATCH ${CTEST_CUSTOM_WARNING_MATCH}
123 Set (CTEST_CUSTOM_COVERAGE_EXCLUDE
129 # -----------------------------------------------------------
130 # -- Error execptions
131 # -- Get rid of boost warnings which are misinterpreted as errors
132 # -----------------------------------------------------------
134 Set(CTEST_CUSTOM_ERROR_EXCEPTION
135 ${CTEST_CUSTOM_ERROR_EXCEPTION}