diff --git a/cmake/developer_package/features.cmake b/cmake/developer_package/features.cmake index 3c1cb6febb8fad..441d8fad826650 100644 --- a/cmake/developer_package/features.cmake +++ b/cmake/developer_package/features.cmake @@ -26,7 +26,7 @@ ie_option (ENABLE_SANITIZER "enable checking memory errors via AddressSanitizer" ie_option (ENABLE_THREAD_SANITIZER "enable checking data races via ThreadSanitizer" OFF) -ie_dependent_option (COVERAGE "enable code coverage" OFF "CMAKE_CXX_COMPILER_ID STREQUAL GNU" OFF) +ie_dependent_option (ENABLE_COVERAGE "enable code coverage" OFF "CMAKE_CXX_COMPILER_ID STREQUAL GNU" OFF) # Defines CPU capabilities diff --git a/inference-engine/cmake/coverage.cmake b/inference-engine/cmake/coverage.cmake index 67ec30bdaede59..3c0982ec70e5e7 100644 --- a/inference-engine/cmake/coverage.cmake +++ b/inference-engine/cmake/coverage.cmake @@ -54,6 +54,11 @@ ie_coverage_extract(INPUT "dldt" OUTPUT "low_precision_transformations" ie_coverage_genhtml(INFO_FILE "low_precision_transformations" PREFIX "${DLDT_COVERAGE_BASE_DIRECTORY}") +ie_coverage_extract(INPUT "dldt" OUTPUT "template_plugin" + PATTERNS "${DLDT_COVERAGE_BASE_DIRECTORY}/template_plugin/*") +ie_coverage_genhtml(INFO_FILE "template_plugin" + PREFIX "${DLDT_COVERAGE_BASE_DIRECTORY}") + if(ENABLE_MKL_DNN) ie_coverage_extract(INPUT "dldt" OUTPUT "mkldnn_plugin" PATTERNS "${DLDT_COVERAGE_BASE_DIRECTORY}/mkldnn_plugin/*")