Move externals/lcov-to-cobertura-xml directory to tools/
Remove external tool dependency in gen-coverage-report command
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
-a "${RUNTIMES_COVERAGE_INFO_PATH}" -a "${TOOLS_COVERAGE_INFO_PATH}" \
-o "${FINAL_COVERAGE_INFO_PATH}"
"${GENHTML_PATH}" "${FINAL_COVERAGE_INFO_PATH}" --output-directory "${HTML_PATH}" ${GENHTML_FLAG:-}
-
-tar -zcf "${OUTPUT_PATH}"/coverage_report.tar.gz "${HTML_PATH}"
-python ${NNFW_PROJECT_PATH}/externals/lcov-to-cobertura-xml/lcov_cobertura.py "${FINAL_COVERAGE_INFO_PATH}" -o "${COVERTURA_PATH}"
pushd $ROOT_PATH > /dev/null
-CMD="GCOV_PATH=arm-linux-gnueabihf-gcov ./nnfw gen-coverage-report"
+CMD="GCOV_PATH=arm-linux-gnueabihf-gcov ./nnfw gen-coverage-report &&
+ tar -zcf coverage/coverage_report.tar.gz coverage/html &&
+ python tools/lcov-to-cobertura-xml/lcov_cobertura.py coverage/coverage.info -o coverage/nnfw_coverage.xml"
source nnfw docker-run-user bash -c "$CMD"
popd > /dev/null