feat(test): write lcov coverage reports
This commit is contained in:
1 parent
d420732016
commit
92c4be9273
9 files changed
+326
-1
No files matched your search
@@ -1860,6 +1860,15 @@ VOID_INCLUDE_DIR=/tmp/opencode/vl-pin/include dev cpp -c bash fuzz/run.sh 30
|
||||
magic, the nuspec id/version, the OPC parts and the runtime asset paths (**passed**, 6.36 s).
|
||||
- Full CTest: **8 / 8 passed** in 337.44 s.
|
||||
|
||||
## Coverage Reporting (GCC 16.2, pin `0002e74`)
|
||||
|
||||
- `vbs test --coverage DIR` adds `--coverage` to the profile compile and link options, runs the
|
||||
tests, and writes `DIR/coverage.info` (lcov) plus `DIR/summary.txt` from gcov's JSON output.
|
||||
- `FullV1Tests.test_coverage_writes_lcov_and_summary` **passed** (2.66 s): the report contains
|
||||
`SF:` records for both sources, `DA:1,1` (executed function) and `DA:2,0` (uncovered
|
||||
function), `end_of_record`, and a summary starting with `Coverage: ` and containing `%`.
|
||||
- Full CTest: **8 / 8 passed** in 352.77 s.
|
||||
|
||||
## Limits and Unrun Checks
|
||||
|
||||
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
|
||||
|
||||
Reference in new issue
Block a user