-
Notifications
You must be signed in to change notification settings - Fork 254
Closed
Description
Environment
$cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
$lcov --version
lcov: LCOV version 1.14
I installed lcov by apt install lcov
.
Problem Description
I collect coverage report by the following commands:
WORKSPACE=$(realpath ".")
find . -name "*.gcda" -print0 | xargs -0 rm -f
lcov --rc lcov_branch_coverage=1 --directory build/.objs --base-directory "${WORKSPACE}" --include "${WORKSPACE}/zmath/*" --exclude "${WORKSPACE}/zmath/*_test.cc" --gcov-tool "${BASE_DIR}/llvm-gcov.sh" --capture -o coverage.info
genhtml -s --rc lcov_branch_coverage=1 coverage.info --branch-coverage --output-directory coverage
(cd coverage && python3 -m http.server 17777)
but the result is so confused:
Metadata
Metadata
Assignees
Labels
No labels