Use 'project path' as prefix in coverage report (#136)
author박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 25 Apr 2018 02:54:01 +0000 (11:54 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 25 Apr 2018 02:54:01 +0000 (11:54 +0900)
This commit revises gen-coverage-report to use NNCC project path as the
prefix for paths in coverage report.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
scripts/command/gen-coverage-report

index b20ac9e..e389d1d 100644 (file)
@@ -40,4 +40,6 @@ HTML_PATH="${OUTPUT_PATH}/html"
   "${NNCC_PROJECT_PATH}"'/*'
 "${LCOV_PATH}" -r "${EXTRACTED_COVERAGE_INFO_PATH}" -o "${EXCLUDED_COVERAGE_INFO_PATH}" \
   '*.test.cpp'
-"${GENHTML_PATH}" "${EXCLUDED_COVERAGE_INFO_PATH}" --output-directory "${HTML_PATH}"
+"${GENHTML_PATH}" "${EXCLUDED_COVERAGE_INFO_PATH}" \
+  --prefix "${NNCC_PROJECT_PATH}" \
+  --output-directory "${HTML_PATH}"