Skip to content

Commit

Permalink
Fix: Coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
ntut-xuan committed Dec 5, 2024
1 parent 5548cb4 commit 28203e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cmake --build $BUILD_DIR
"./${BUILD_DIR}/build/PolygonDust-gtest"

if [ "$1" = 'xml' ]; then
gcovr . --exclude "_deps" --exclude "test" --exclude "pyb_includes" --exclude "coverage_build/_deps" --exclude "build/_deps" --exclude "src/main_pyb.cpp" -b --exclude-unreachable-branches --xml -o coverage.xml
gcovr . --exclude "_deps" --exclude "test" --exclude "pyb_includes" --exclude "coverage_build/_deps" --exclude "build/_deps" --exclude "src/main_pyb.cpp" -b --exclude-unreachable-branches --xml -o ./${BUILD_DIR}/coverage.xml
fi

if [ "$1" = "html" ]; then
Expand Down

0 comments on commit 28203e9

Please sign in to comment.