summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Kalinich (GitHub) <AKalinich@luxoft.com>2021-10-11 13:39:24 -0400
committerGitHub <noreply@github.com>2021-10-11 13:39:24 -0400
commitb73364623ee5c8185c3eea29750ed58b8ea0263c (patch)
tree25a4f47f7f7fc903ca75fc295094407a61c9ee2e
parent3a8d0cb7292894d952a573c630e030b359b91e5c (diff)
downloadsdl_core-b73364623ee5c8185c3eea29750ed58b8ea0263c.tar.gz
Added build path to lcov command (#3786)
Co-authored-by: OlhaVorobiova <olha.vorobiova@dxc.com>
-rwxr-xr-xtools/infrastructure/collect_coverage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/infrastructure/collect_coverage.sh b/tools/infrastructure/collect_coverage.sh
index 47559e6c47..498eee7f65 100755
--- a/tools/infrastructure/collect_coverage.sh
+++ b/tools/infrastructure/collect_coverage.sh
@@ -17,7 +17,7 @@ rm -rf $COVERAGE_DIR
rm -rf $REPORTS_DIR -
mkdir $COVERAGE_DIR
-lcov --quiet --capture --directory . --output-file $COVERAGE_DIR/full_report.info
+lcov --quiet --capture --directory $BUILD_DIR --output-file $COVERAGE_DIR/full_report.info
lcov --quiet --remove $COVERAGE_DIR/full_report.info '/usr/*' '*/test/*' '*/src/3rd*' '*/build/src/*' --output-file $COVERAGE_DIR/coverage.info
mkdir $REPORTS_DIR