From 255cabc9dbd02759323f118c21d7a9ff4b7c65ec Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Fri, 26 Mar 2021 12:09:40 +0100 Subject: [PATCH] Tools: remove more path from coverage --- Tools/scripts/update-coverage.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tools/scripts/update-coverage.sh b/Tools/scripts/update-coverage.sh index 1473496778..2d2fe07eab 100755 --- a/Tools/scripts/update-coverage.sh +++ b/Tools/scripts/update-coverage.sh @@ -16,8 +16,12 @@ lcov --no-external --capture --directory $PWD -o "$INFO_FILE" 2>&1 | tee $LCOV_L # remove files we do not intentionally test: lcov --remove "$INFO_FILE" ".waf*" -o "$INFO_FILE" 2>&1 | tee -a $LCOV_LOG lcov --remove "$INFO_FILE" "$PWD/modules/gtest/*" -o "$INFO_FILE" 2>&1 | tee -a $LCOV_LOG +lcov --remove "$INFO_FILE" "$PWD/modules/uavcan/*" -o "$INFO_FILE" 2>&1 | tee -a $LCOV_LOG lcov --remove "$INFO_FILE" "$PWD/build/linux/libraries/*" -o "$INFO_FILE" 2>&1 | tee -a $LCOV_LOG +lcov --remove "$INFO_FILE" "$PWD/build/sitl/libraries/*" -o "$INFO_FILE" 2>&1 | tee -a $LCOV_LOG +lcov --remove "$INFO_FILE" "$PWD/build/sitl/modules/*" -o "$INFO_FILE" 2>&1 | tee -a $LCOV_LOG + genhtml "$INFO_FILE" -o "$REPORT_DIR" 2>&1 | tee $GENHTML_LOG -echo "Coverage successful. Open $REPORT_DIR/index.html" \ No newline at end of file +echo "Coverage successful. Open $REPORT_DIR/index.html"