moonchen opened a new pull request, #13305:
URL: https://github.com/apache/trafficserver/pull/13305
The `ci/coverage` script still drove an autotools (`configure`/`make`) build
and reported through `lcov`/`genhtml`. Autotools was removed in the v10 CMake
migration, so the script no longer runs.
Rework it to:
- configure and build out-of-source with CMake (Debug + `--coverage`),
- run the unit tests via `ctest`, and optionally the autests
(`AUTEST='*/tls/*'` for a subset, `AUTEST=all` for the whole suite),
- report with `gcovr` (HTML, JSON, and Cobertura XML), falling back to
`uvx gcovr` when gcovr is not on `PATH`.
The gcovr invocation carries a few `--gcov-ignore-*` / `--merge-mode` flags
whose rationale is documented inline: vendored/generated objects with a stale
recorded cwd, sources compiled into both a library and a unit-test binary,
and
hot-path counters that legitimately reach billions of hits and trip gcovr's
corruption heuristic.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]