Skip to content

Commit

Permalink
Added coverage for template plugin (#4234)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov authored Feb 9, 2021
1 parent a6d9842 commit 0c39d5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/developer_package/features.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions inference-engine/cmake/coverage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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/*")
Expand Down

0 comments on commit 0c39d5b

Please sign in to comment.