mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-17 13:06:36 +02:00
Add support for LLVM source-based code coverage instrumentation, enabling developers and CI to generate coverage reports for the Core Lightning codebase. Build System: - Add coverage-clang-collect and coverage-clang-report Makefile targets - Fix missing endif for PYTEST_TESTS conditional - Respect CARGO_TARGET_DIR environment variable for Rust builds Coverage Scripts (contrib/coverage/): - collect-coverage.sh: Merges .profraw files with validation and batching - generate-coverage-report.sh: Generates HTML reports using llvm-cov CI Workflow: - coverage.yaml: Daily workflow for building, testing, and publishing reports Usage: ./configure --enable-coverage CC=clang make -j$(nproc) CLN_COVERAGE_DIR=/tmp/cln-coverage make pytest make coverage-clang Changelog-Changed: Added LLVM source-based code coverage support with CI integration |
||
|---|---|---|
| .. | ||
| beginners-guide | ||
| contribute-to-core-lightning | ||
| developers-guide | ||
| getting-started | ||
| miscellaneous | ||
| node-operators-guide | ||
| schemas | ||
| .gitignore | ||
| CHANGELOG.md | ||
| COVERAGE.md | ||
| index.rst | ||
| LICENSE.md | ||
| lightning-cli.1.md | ||
| lightning-downgrade.8.md | ||
| lightning-hsmtool.8.md | ||
| lightning-reckless.1.md | ||
| lightningd-config.5.md | ||
| lightningd-rpc.7.md | ||
| lightningd.8.md | ||
| Makefile | ||
| reckless.7.md | ||
| rpc-schema-draft.json | ||
| undoc-flags.list | ||