Skip to content
Snippets Groups Projects
Commit cad88be7 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Bug 1310: Generate CTestCustom.cmake file. This is needed, because settings...

Bug 1310: Generate CTestCustom.cmake file. This is needed, because settings like CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS need to be set in a CTestCustom.cmake file in the BINARY tree.
parent fb4261c0
No related branches found
No related tags found
No related merge requests found
...@@ -43,4 +43,11 @@ if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") ...@@ -43,4 +43,11 @@ if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
${CMAKE_BINARY_DIR}/lofarinit.csh ${CMAKE_BINARY_DIR}/lofarinit.csh
DESTINATION .) DESTINATION .)
# Configure the CTestCustom.cmake file, used by CTest/Dart, if it exists.
if(EXISTS ${CMAKE_SOURCE_DIR}/CTestCustom.cmake.in)
configure_file(
${CMAKE_SOURCE_DIR}/CTestCustom.cmake.in
${CMAKE_BINARY_DIR}/CTestCustom.cmake @ONLY)
endif(EXISTS ${CMAKE_SOURCE_DIR}/CTestCustom.cmake.in)
endif("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") endif("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
...@@ -11,5 +11,3 @@ set(CTEST_DROP_METHOD "http") ...@@ -11,5 +11,3 @@ set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "svn.astron.nl") set(CTEST_DROP_SITE "svn.astron.nl")
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=LOFAR") set(CTEST_DROP_LOCATION "/CDash/submit.php?project=LOFAR")
set(CTEST_DROP_SITE_CDASH TRUE) set(CTEST_DROP_SITE_CDASH TRUE)
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "200")
# - CTest custom settings.
# See http://www.cmake.org/Wiki/CMake_Testing_With_CTest for details.
# Regular expression for errors during build process
set(CTEST_CUSTOM_ERROR_MATCH)
# Regular expression for error exceptions during build process
set(CTEST_CUSTOM_ERROR_EXCEPTION)
# Regular expression for warnings during build process
set(CTEST_CUSTOM_WARNING_MATCH)
# Regular expression for warning exception during build process
set(CTEST_CUSTOM_WARNING_EXCEPTION)
# Maximum number of errors to display
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS)
# Maximum number of warnings to display
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 200)
# List of tests to ignore during the Test stage
set(CTEST_CUSTOM_TESTS_IGNORE)
# List of tests to ignore during the MemCheck stage
set(CTEST_CUSTOM_MEMCHECK_IGNORE)
# Command to execute before any tests are run during Test stage
set(CTEST_CUSTOM_PRE_TEST)
# Command to execute after any tests are run during Test stage
set(CTEST_CUSTOM_POST_TEST)
# Maximum size of passed test output
set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE)
# Maximum size of failed test output
set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE)
# Command to execute before any tests are run during MemCheck stage
set(CTEST_CUSTOM_PRE_MEMCHECK)
# Command to execute after any tests are run during MemCheck stage
set(CTEST_CUSTOM_POST_MEMCHECK)
# Regular expression for excluding files from coverage testing
set(CTEST_CUSTOM_COVERAGE_EXCLUDE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment