call ProcessTriggerAliases only after BeginSlave or before raw chain loop
[u/mrichter/AliRoot.git] / CTestCustom.cmake
1  ################################################################################
2  #    Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH    #
3  #                                                                              #
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  ################################################################################
8 # -*- mode: cmake -*-
9
10 #message(" -- Read CTestCustom.cmake --")
11
12 # -----------------------------------------------------------
13 # -- Number of warnings to display
14 # -----------------------------------------------------------
15
16 set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "500" )
17
18 # -----------------------------------------------------------
19 # -- Number of errors to display
20 # -----------------------------------------------------------
21
22 set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS   "50" )
23
24 # -----------------------------------------------------------
25 # -- Warning execptions
26 # -----------------------------------------------------------
27
28 set(CTEST_CUSTOM_WARNING_EXCEPTION
29         ${CTEST_CUSTOM_WARNING_EXCEPTION}
30
31         # -- doxygen warnings
32 #       "of command \@param is not found in the argument list of" 
33 #       "for \\link command"
34 #       "for \\ref command"
35 #       "\\class statement"
36 #       "\\file statement"
37 #       "are not documented:"
38 #       "Skipping documentation"
39 #       "has a brief description"
40
41         # -- CLHEP and Pluto warnings
42         "/include/CLHEP/"
43         "PDataBase.h"
44         "PMesh.h" 
45         "PParticle.h"
46         "PStaticData.h"
47         "PUtils.h"
48         "include/pluto/"
49
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*)'"
56
57         # -- boost warnings
58         "/include/boost/exception/exception.hpp:"
59         "/include/boost/smart_ptr/detail/sp_convertible.hpp:"
60         "/include/boost/smart_ptr/shared_ptr.hpp:"  
61         "/include/boost/"
62
63         # -- Root warnings when installed in installation dir
64         "/include/root/"
65         # -- Root warnings which should not show up in the test setup
66         "/include/G__ci.h:"
67         "/include/TAttImage.h:"
68         "/include/TBuffer.h:"
69         "/include/TCollectionProxyInfo.h"
70         "/include/TCut.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:"
80         "/include/TList.h:"
81         "/include/TMap.h:"
82         "/include/TMatrixT.h:"
83         "/include/TMatrixTSym.h:"
84         "/include/TMemberInspector.h:"
85         "/include/TObjArray.h:"
86         "/include/TRefArray.h:"
87         "/include/TString.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:"
105
106         # -- Geant3 warnings
107         "TGeant3/TGeant3.h:"
108         "TGeant3/TGeant3TGeo.h:"
109
110         # -- Errors which are filtered for the time being
111         # -- MbsAPI is only a copy from elsewhere so don't know what to do
112         "MbsAPI"
113         "/MbsAPI/f_evcli.c"
114         "FairTSBufferFunctional.*std::binary_function"
115   )
116
117 # -----------------------------------------------------------
118 # -- Warning addon's
119 # -----------------------------------------------------------
120 set(CTEST_CUSTOM_WARNING_MATCH  ${CTEST_CUSTOM_WARNING_MATCH}
121         )
122
123 Set (CTEST_CUSTOM_COVERAGE_EXCLUDE
124      ".*Dict.h"
125      ".*Dict.cxx"
126      ".*GTest.*"
127     )
128
129 # -----------------------------------------------------------
130 # -- Error execptions
131 # -- Get rid of boost warnings which are misinterpreted as errors
132 # -----------------------------------------------------------
133
134 Set(CTEST_CUSTOM_ERROR_EXCEPTION
135         ${CTEST_CUSTOM_ERROR_EXCEPTION}
136         "/include/boost/"
137 )