SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  ${CTEST_CUSTOM_COVERAGE_EXCLUDE}

  # Exclude try_compile sources from coverage results:
  "/CMakeFiles/CMakeTmp/"

  # Exclude files generated by the moc pre-compiler
  ".*/moc_.*"

  # Exclude files generated by the uic pre-compiler
  ".*/ui_.*"

  # Exclude files from the Testing directories
  ".*/Testing/.*"
  )
  
# The following tests should not be run under valgrind
SET(CTEST_CUSTOM_MEMCHECK_IGNORE
  
  )
  
SET(CTEST_CUSTOM_WARNING_EXCEPTION
  ${CTEST_CUSTOM_WARNING_EXCEPTION}
  )  


SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  ${CTEST_CUSTOM_COVERAGE_EXCLUDE}

  # Exclude try_compile sources from coverage results:
  "/CMakeFiles/CMakeTmp/"

  # Exclude files generated by the moc pre-compiler
  ".*/moc_.*"

  # Exclude files generated by the uic pre-compiler
  ".*/ui_.*"

  # Exclude files from the Testing directories
  ".*/Testing/.*"
  )
  
# The following tests should not be run under valgrind
SET(CTEST_CUSTOM_MEMCHECK_IGNORE
  
  )
  
SET(CTEST_CUSTOM_WARNING_EXCEPTION
  ${CTEST_CUSTOM_WARNING_EXCEPTION}
  # Git warning
  "You are in 'detached HEAD' state."
  # VTK
  "VTK/Utilities/vtktiff/"
  )  


Add custom ctest warning exception for Git and VTK
Add custom ctest warning exception for Git and VTK
