summaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 4db898fdb..bdab4bc58 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required (VERSION 2.6)
enable_testing()
+if (CMAKE_BUILD_TYPE STREQUAL "COVERAGE")
+ setup_target_for_coverage("${PROJECT_NAME}_coverage" "ctest" coverage)
+endif()
+
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(ChunkData)