Move the coverage report into the build tree and document manual commands
- new_docker_build.sh: the default coverage report location is now qt6-after/build/coverage/<project>/<os>/ (inside the build tree, wiped with it on every run). - README.md: new 'Manual commands (without the driver)' section with the exact image build, container start, from-zero cmake/ninja compile, ctest and instrumented lcov coverage pipeline; Step 6 and the options table updated to the new report location. - Verified end to end: clean from-zero --run-coverage run, 22/22 tests, 122 production files, host-side paths in all artifacts.
This commit is contained in:
1 parent
363bde9a0e
commit
f1f2c5eec8
2 files changed
+103
-6
No files matched your search
@@ -356,7 +356,9 @@ fi
|
||||
if [[ "${RUN_COVERAGE}" == "ON" ]]; then
|
||||
log_info "Collecting code coverage (lcov)..."
|
||||
OS_VERSION=$(eval $(grep "^VERSION_ID=" /etc/os-release) && echo "$VERSION_ID")
|
||||
COV_DIR="${DOCKER_MOUNT_ROOT}/coverage/${PROJECT}/${OS_VERSION}"
|
||||
# Default location: inside the build tree (wiped at the start of every
|
||||
# driver run, like the rest of the build).
|
||||
COV_DIR="${BUILD_DIR}/coverage/${PROJECT}/${OS_VERSION}"
|
||||
|
||||
case "${COVERAGE_OUTPUT_DIR}" in
|
||||
/*)
|
||||
|
||||
Reference in new issue
Block a user