Skip to content

Commit

Permalink
Demangle C++ function names in combined coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Jan 19, 2025
1 parent 0b90cf1 commit ec42613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ jobs:
# Combine all tracefiles into one. Note, ignoring inconsistencies between Clang and GCC reports :|
lcov --ignore-errors inconsistent $(find artifacts -name '*.info' -type f -printf '-a %p\n') -o coverage.info
# Generate the HTML report. Note, ignoring inconsistencies between Clang and GCC reports :|
genhtml --ignore-errors inconsistent --no-sort --output-directory coverage coverage.info
genhtml --demangle-cpp --ignore-errors inconsistent --no-sort --output-directory coverage coverage.info
# Can use any of the removeHtmlDates.sh scripts here, so the Ubuntu x86-64 GCC Qt6 job's version will do.
/usr/bin/env bash ./artifacts/test-results-*.x86-64.gcc.qt-6/coverage/removeHtmlDates.sh coverage
# Remove build numbers from pre-releases, and remove extra build info (such as ".linux.x86-64.gcc.qt-6")
Expand Down

0 comments on commit ec42613

Please sign in to comment.