diff options
| author | Leitwolf11 | 2026-11-13 21:55:26 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-13 21:55:26 +0300 |
| commit | 454cca9b63991416f4d9bd1ca350f1ae14e278e7 (patch) | |
| tree | d85cafe2ee3ca7c5a8897a3e0fdde844fb18c6f6 /src/Progmasoft/Catch3/Internal/Decomposer.hpp | |
| parent | 55dab34729c14c9019b7062fccd11fc22372e805 (diff) | |
| download | catch3-feature/per-test-coverage.tar.gz | |
Fix the coverage review findings: branches, stale reports, exit statusfeature/per-test-coverage
- gcov is run with --branch-probabilities; without it the JSON has no
branches, so GCC runs had none in coverage.json and coverage.lcov.
- PrepareCoverageDirectory also removes coverage.json, coverage.lcov and
coverage.profdata of an earlier run, so a run that writes no reports
leaves none to be read as its own.
- WriteCoverageReports returns notes and failures apart. A profile the
tools cannot read or a report that cannot be written counts as a missing
report and fails a run whose tests passed; no profiles or missing tools
stay notes. The paths are announced only for the reports written.
- ProfiledAttempt takes the last attempt whose profile exists, so a final
retry or repeat that crashed before writing one no longer hides the
coverage of the attempt before it.
- The per-test llvm-profdata/llvm-cov and gcov runs use as many threads
as the run had workers; results keep the order of the tests.
Tests: earlier reports removed and no failure without profiles; an
attempt without a profile gives way to an earlier one; the fixture gains a
branch taken one way, checked in the combined LCOV for both LLVM and gcov.
Amalgamation regenerated.
Diffstat (limited to 'src/Progmasoft/Catch3/Internal/Decomposer.hpp')
0 files changed, 0 insertions, 0 deletions