Commit 9e1a39a6 authored by ibanez's avatar ibanez
Browse files

ENH: Removing .NoDartCoverage files and replacing them with the

     CTEST_CUSTOM_COVERAGE_EXCLUDE variable in the CTestCustom.cmake.in file.



git-svn-id: http://svn.slicer.org/Slicer4/trunk@11508 3bd1e089-480b-0410-8dfb-8563597acbee
parent 3ded8fbe
......@@ -400,21 +400,6 @@ install(FILES
)
#-----------------------------------------------------------------------------
# Copying .NoDartCoverage files in the binary directory
#
macro(copy_no_coverage_file_to DESTINATION)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/Testing/.NoDartCoverage
${DESTINATION}/.NoDartCoverage
)
endmacro(copy_no_coverage_file_to)
copy_no_coverage_file_to("${CMAKE_CURRENT_BINARY_DIR}/Base")
copy_no_coverage_file_to("${CMAKE_CURRENT_BINARY_DIR}/Modules")
copy_no_coverage_file_to("${CMAKE_CURRENT_BINARY_DIR}/Libs")
#-----------------------------------------------------------------------------
# Subdirectories
#
......
SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 50)
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
# Exclude kwsys files from coverage results. They are reported
# (with better coverage results) on kwsys dashboards...
"/Source/(cm|kw)sys/"
# Exclude try_compile sources from coverage results:
"/CMakeFiles/CMakeTmp/"
# Exclude files generated by Tcl wrapping
".*Tcl.cxx"
# Exclude files generated by the moc pre-compiler
"moc_.*"
# Exclude Qt source files from coverage results:
"[A-Za-z]./[Qq]t/qt-.+-opensource-src"
)
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