CTestCustom.cmake.in 1.82 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#
# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
#
# This file is part of Orfeo Toolbox
#
#     https://www.orfeo-toolbox.org/
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

21 22 23 24 25 26
set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000)
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 300)
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)

set(CTEST_CUSTOM_WARNING_EXCEPTION
  ${CTEST_CUSTOM_WARNING_EXCEPTION}
27 28
  ".*SuperBuild.GEOS.*"
  ".*SuperBuild.JPEG.*warning"
29
  ".*SuperBuild.TIFF.*warning.*"
30
  ".*SuperBuild.GEOTIFF.*warning.*"
31 32 33 34 35
  "ranlib:.*file:.*has no symbols"
  "libtool:.*file:.*has no symbols"
  "libtool:.install:.warning:.relinking.*"
  "make.*jobserver.unavailable.*"
  "configure:.WARNING:.*"
36
  ".*SuperBuild.OSSIM.src.OSSIM.*"
37
  ".*SuperBuild.LIBKML.src.LIBKML.*"
38 39 40
  ".bin.bash:.*config.rpath:.*directory.*"
  ".*the.curl.cmake.build.system.is.poorly.maintained.*"
  ".*config.status:.WARNING:.*GDALmake.opt.in.*"
41
  "SuperBuild.OPENCV.src.OPENCV.modules"
42 43 44 45
  ".*gdal_priv.h.*[Ww]arning.*"
  ".*cpl_string.h.*[Ww]arning.*"
  ".*ogr_feature.h.*[Ww]arning.*"
  ".*cpl_serv.h.*[Ww]arning.*"
46
  )
47 48 49 50 51

# We disable all compiler warnings on superbuild. They are too numerous and pretty much useless
# when they show up on the dashboard. If you want to track them do, just run the build
# manually.
set (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 0)