From: 박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 Date: Thu, 26 Apr 2018 04:25:24 +0000 (+0900) Subject: Generage coverage report only for libs and tools (#152) X-Git-Tag: nncc_backup~2733 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25726d1d0264592d0e9587f7c0b89a19ed0ed99d;p=platform%2Fcore%2Fml%2Fnnfw.git Generage coverage report only for libs and tools (#152) This commit revises 'gen-coverage-report' to consider sources under libs and tools (which nncc officially provides) when generating coverage report. Signed-off-by: Jonghyun Park --- diff --git a/scripts/command/gen-coverage-report b/scripts/command/gen-coverage-report index e389d1d..8a12bc7 100644 --- a/scripts/command/gen-coverage-report +++ b/scripts/command/gen-coverage-report @@ -37,7 +37,7 @@ HTML_PATH="${OUTPUT_PATH}/html" "${LCOV_PATH}" -c -d "${BUILD_WORKSPACE_PATH}" -o "${RAW_COVERAGE_INFO_PATH}" "${LCOV_PATH}" -e "${RAW_COVERAGE_INFO_PATH}" -o "${EXTRACTED_COVERAGE_INFO_PATH}" \ - "${NNCC_PROJECT_PATH}"'/*' + "${NNCC_PROJECT_PATH}"'/libs/*' "${NNCC_PROJECT_PATH}"'/tools/*' "${LCOV_PATH}" -r "${EXTRACTED_COVERAGE_INFO_PATH}" -o "${EXCLUDED_COVERAGE_INFO_PATH}" \ '*.test.cpp' "${GENHTML_PATH}" "${EXCLUDED_COVERAGE_INFO_PATH}" \