Commit da8f261
committed
Fix code coverage: Ignore line mismatch errors from Catch2 macros
Add --ignore-errors mismatch flag to lcov and genhtml commands to handle
line number mismatches caused by Catch2's TEMPLATE_TEST_CASE macro expansion.
This is a known issue with coverage tools and template-heavy test frameworks.
Fixes: geninfo ERROR: mismatched end line for templated tests1 parent 49fa6ee commit da8f261
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments