Newer
Older

Marcel Loose
committed
# - CTest custom settings.
# See http://www.cmake.org/Wiki/CMake_Testing_With_CTest for details.

Marcel Loose
committed
#
# This file will be configured by LofarConfig.cmake; its output will be stored
# in the top-level build directory. Any of the variables below can be set by
# the user, either on the command line or in the variants file(s).
# $Id$

Marcel Loose
committed

Marcel Loose
committed
# Assign contents of <val> to <var> if <val> is set.
macro(set_if_set var val)
if(NOT "${val}" MATCHES "^$")
set("${var}" "${val}")
endif(NOT "${val}" MATCHES "^$")
endmacro(set_if_set)

Marcel Loose
committed
# Regular expression for errors during build process

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_ERROR_MATCH "@CTEST_CUSTOM_ERROR_MATCH@")

Marcel Loose
committed
# Regular expression for error exceptions during build process

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_ERROR_EXCEPTION "@CTEST_CUSTOM_ERROR_EXCEPTION@")

Marcel Loose
committed
# Regular expression for warnings during build process

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_WARNING_MATCH "@CTEST_CUSTOM_WARNING_MATCH@")

Marcel Loose
committed
# Regular expression for warning exception during build process

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_WARNING_EXCEPTION "@CTEST_CUSTOM_WARNING_EXCEPTION@")

Marcel Loose
committed
# Maximum number of errors to display

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "@CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS@")

Marcel Loose
committed
# Maximum number of warnings to display

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "@CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS@")

Marcel Loose
committed
# List of tests to ignore during the Test stage

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_TESTS_IGNORE "@CTEST_CUSTOM_TESTS_IGNORE@")

Marcel Loose
committed
# List of tests to ignore during the MemCheck stage

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_MEMCHECK_IGNORE "@CTEST_CUSTOM_MEMCHECK_IGNORE@")

Marcel Loose
committed
# Command to execute before any tests are run during Test stage

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_PRE_TEST "@CTEST_CUSTOM_PRE_TEST@")

Marcel Loose
committed
# Command to execute after any tests are run during Test stage

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_POST_TEST "@CTEST_CUSTOM_POST_TEST@")

Marcel Loose
committed
# Maximum size of passed test output

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE "@CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE@")

Marcel Loose
committed
# Maximum size of failed test output

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE "@CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE@")

Marcel Loose
committed
# Command to execute before any tests are run during MemCheck stage

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_PRE_MEMCHECK "@CTEST_CUSTOM_PRE_MEMCHECK@")

Marcel Loose
committed
# Command to execute after any tests are run during MemCheck stage

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_POST_MEMCHECK "@CTEST_CUSTOM_POST_MEMCHECK@")

Marcel Loose
committed
# Regular expression for excluding files from coverage testing

Marcel Loose
committed
set_if_set(CTEST_CUSTOM_COVERAGE_EXCLUDE "@CTEST_CUSTOM_COVERAGE_EXCLUDE@")