|
|
|
@ -102,12 +102,12 @@ check() { |
|
|
|
mkdir coverage |
|
|
|
mkdir coverage |
|
|
|
# Keep in sync with package/ci/appveyor-desktop{,-mingw}.bat and |
|
|
|
# Keep in sync with package/ci/appveyor-desktop{,-mingw}.bat and |
|
|
|
# circleci.yml, please |
|
|
|
# circleci.yml, please |
|
|
|
# TODO figure out a way to avoid adding --ignore-errors mismatch |
|
|
|
# TODO figure out a way to avoid adding all those --ignore-errors |
|
|
|
lcov --ignore-errors mismatch --directory . --capture --output-file coverage.info |
|
|
|
lcov --ignore-errors mismatch,inconsistent --directory . --capture --output-file coverage.info |
|
|
|
lcov --extract coverage.info "*/src/Magnum*/*" --output-file coverage.info > /dev/null |
|
|
|
lcov --ignore-errors inconsistent --extract coverage.info "*/src/Magnum*/*" --output-file coverage.info > /dev/null |
|
|
|
lcov --remove coverage.info "*/src/MagnumExternal/*" --output-file coverage.info > /dev/null |
|
|
|
lcov --ignore-errors inconsistent --remove coverage.info "*/src/MagnumExternal/*" --output-file coverage.info > /dev/null |
|
|
|
lcov --remove coverage.info "*/Test/*" --output-file coverage.info > /dev/null |
|
|
|
lcov --ignore-errors inconsistent --remove coverage.info "*/Test/*" --output-file coverage.info > /dev/null |
|
|
|
lcov --remove coverage.info "*/build-coverage/src/*" --output-file coverage.info > /dev/null |
|
|
|
lcov --ignore-errors inconsistent --remove coverage.info "*/build-coverage/src/*" --output-file coverage.info > /dev/null |
|
|
|
genhtml --no-function-coverage --missed --output-directory ./coverage coverage.info |
|
|
|
genhtml --no-function-coverage --missed --output-directory ./coverage coverage.info |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|