Add branch coverage build for simulation

Adds build_coverage.sh script that:
- Builds the simulation with GCC branch coverage instrumentation
- Supports --report flag to run simulation and generate lcov HTML report
- Uses 60 second timeout with SIGINT for graceful shutdown

Also adds SIGINT handler to simulation to exit cleanly and flush coverage data.
This commit is contained in:
Claude
2026-01-16 16:47:58 +00:00
parent c10493881b
commit 4cac3a721e
3 changed files with 60 additions and 2 deletions
+7 -1
View File
@@ -1,3 +1,9 @@
toasty_metadata_server
toasty_chunk_server
toasty_simulation
toasty_simulation
toasty_simulation_coverage
*.gcno
*.gcda
*.gcov
*.info
coverage_html/