OpenRTX/scripts
Ryan Turner 2f18cdcc0c test: unit: add gcovr test coverage
Add a script to run gcovr; update contributing guide to explain usage; integrate
with vscode presents; add execution to ci.

To use this, execute `scripts/coverage.sh`. This builds with coverage
instrumentation, runs the test suite, and produces:
 * HTML report: `build_coverage/coverage/index.html` -- open in a browser to see
   per-file line-by-line coverage highlighting
 * MD report: `build_coverage/coverage/coverage.md` -- human-readable summary of
   test coverage which gets attached to the GitHub actions build
 * Cobertura XML: `build/coverage/cobertura.xml` -- machine-readable format used
   by CI; this gets archived today with the build, but no other use is in place
   yet

In the future another tool could be used to track coverage over time, or we
could institute minimum coverage requirements and have a GH actions
automatically open a comment when the coverage is not met, for instance.

Co-authored-by: GitHub Copilot <copilot@github.com> Signed-off-by: Ryan Turner
<ryan@turnrye.com>
2026-03-04 08:10:40 +01:00
..
openocd copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
add_dc_offset.cpp copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
bin2sgl.py copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
c2tool.c copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
clang_format.sh test: unit: port and enable UI standby check test 2026-03-04 08:10:40 +01:00
coverage.sh test: unit: add gcovr test coverage 2026-03-04 08:10:40 +01:00
cs7000_wrap.py copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
dfu-convert.py Build target for Connect Systems CS7000 2025-03-16 10:13:00 +01:00
gd-77_firmware_loader.py Replaced bin2sgl linux binary with a version statically linked with the libc, added missing wrap and flash commands for DM-1801 2022-06-17 12:44:38 +02:00
generate_symbols.py copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
get_demod_log.c copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
nightly_build.sh build: rename "build_arm" file to "build_cm4" 2026-02-14 16:00:51 +01:00
plot_m17_demod_csv.py copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
plot_m17_demod_csv2.py copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
uf2conv.py copyright-and-license: adopt SPDX-compliant header 2026-01-14 20:10:07 +01:00
uf2families.json Implemented uf2 image wrapping for T-TWR Plus 2023-10-18 11:27:43 +02:00