Commit 11dbeb95 authored by Milian Wolff's avatar Milian Wolff

enable CDash/CTest for kdev-custom-buildsystem

parent 1b9fd21e
......@@ -53,3 +53,8 @@ install( FILES kdevcustombuildsystem.desktop
kcm_kdevcustombuildsystem.desktop
DESTINATION ${SERVICES_INSTALL_DIR} )
include(CTest)
# CTestCustom.cmake has to be in the CTEST_BINARY_DIR.
# in the KDE build system, this is the same as CMAKE_BINARY_DIR.
configure_file(${CMAKE_SOURCE_DIR}/CTestCustom.cmake ${CMAKE_BINARY_DIR}/CTestCustom.cmake)
## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
## # The following are required to uses Dart and the Cdash dashboard
## ENABLE_TESTING()
## INCLUDE(CTest)
set(CTEST_PROJECT_NAME "KDevelop-Custom-Buildsystem")
set(CTEST_NIGHTLY_START_TIME "00:05:00 EST")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "my.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=KDevelop-Custom-Buildsystem")
set(CTEST_DROP_SITE_CDASH TRUE)
# This file contains all the specific settings that will be used
# when running 'make Experimental'
# Change the maximum warnings that will be displayed
# on the report page (default 50)
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1000)
# Warnings that will be ignored
set(CTEST_CUSTOM_WARNING_EXCEPTION
${CTEST_CUSTOM_WARNING_EXCEPTION}
# "/path/to/subfolder/"
)
# Errors that will be ignored
set(CTEST_CUSTOM_ERROR_EXCEPTION
${CTEST_CUSTOM_ERROR_EXCEPTION}
# "ICECC"
# "Segmentation fault"
# "GConf Error"
# "Client failed to connect to the D-BUS daemon"
# "Failed to connect to socket"
)
# No coverage for these files
set(CTEST_CUSTOM_COVERAGE_EXCLUDE ".moc$" "moc_" "ui_")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment