Fix lcov unused exclude pattern error
qt-migration-copilot-demo/pipeline/pr-main There was a failure building this commit
qt-migration-copilot-demo/pipeline/pr-main There was a failure building this commit
Add 'unused' to --ignore-errors to handle exclude patterns that may not match all files in all build configurations. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: b013634f799e
This commit is contained in:
1 file changed
+1
-1
@@ -72,7 +72,7 @@ lcov --remove "${COVERAGE_DIR}/coverage.info" \
|
|||||||
'*/Qt6/*' \
|
'*/Qt6/*' \
|
||||||
'*/qt6-migrated-benchmark/tests/*' \
|
'*/qt6-migrated-benchmark/tests/*' \
|
||||||
--output-file "${COVERAGE_DIR}/coverage.filtered.info" \
|
--output-file "${COVERAGE_DIR}/coverage.filtered.info" \
|
||||||
--ignore-errors mismatch \
|
--ignore-errors mismatch,unused \
|
||||||
--rc lcov_branch_coverage=1
|
--rc lcov_branch_coverage=1
|
||||||
|
|
||||||
# Generate HTML report
|
# Generate HTML report
|
||||||
|
|||||||
Reference in new issue
Block a user