Added a CTestCustom.cmake file to filter unwanted files from code coverage and suppre...
[platform/upstream/lapack.git] / CTestCustom.cmake.in
1 #
2 # For further details regarding this file, 
3 # see http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
4 #
5
6 SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS   50)
7 SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 50)
8
9 # Files to explicitly exclude from code coverage
10 SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
11  ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
12  
13  # Exclude the internal BLAS libraries
14  "/BLAS/"
15
16  # Exclude the testing code itself from code coverage
17  "/TESTING/"
18 )
19
20 # Warnings to explicitly ignore
21 SET(CTEST_CUSTOM_WARNING_EXCEPTION
22   ${CTEST_CUSTOM_WARNING_EXCEPTION}
23
24   # Common warning when linking ATLAS built with GNU Fortran 4.1 and building 
25   # with GNU Fortran 4.4.  It can be safely ignored.
26   "libgfortran.*may conflict with libgfortran"
27 )