about summary refs log tree commit diff
path: root/tests/coverage/branch
AgeCommit message (Collapse)AuthorLines
2024-06-17coverage: Add debugging flag `-Zcoverage-options=no-mir-spans`Zalathar-0/+191
When set, this flag skips the code that normally extracts coverage spans from MIR statements and terminators. That sometimes makes it easier to debug branch coverage and MC/DC coverage, because the coverage output is less noisy. For internal debugging only. If other code changes would make it hard to keep supporting this flag, remove it.
2024-05-14coverage: Simplify counter expressions using simple algebraZalathar-199/+114
Some of these cases currently don't occur in practice, but are included for completeness, and to avoid having to add them later as branch coverage and MC/DC coverage start building more complex expressions.
2024-04-30coverage: Add branch coverage support for if-let and let-chainsZalathar-7/+25
2024-04-30coverage: Add branch coverage support for let-elseZalathar-3/+9
2024-04-22coverage: Branch coverage tests for match armsZalathar-0/+401
2024-04-22coverage: Branch coverage test for if-let and let-chainsZalathar-0/+161
2024-04-22coverage: Branch coverage test for let-elseZalathar-0/+90
2024-04-17coverage: Branch coverage tests for lazy boolean operatorsZalathar-0/+370
2024-04-17coverage: Move branch coverage tests into a subdirectoryZalathar-0/+863