summary refs log tree commit diff
path: root/tests/coverage
AgeCommit message (Expand)AuthorLines
2024-08-01Finish blessing `coverage/mcdc` tests after LLVM 19 upgradeZalathar-0/+5
2024-07-30Bless coverage/mcdc for line number changesJosh Stone-42/+42
2024-07-30Disable MC/DC tests on LLVM 19Krasimir Georgiev-0/+5
2024-07-13Bless coverage.Camille GILLOT-7/+9
2024-07-13Create mapped places upon seeing them in the body.Camille GILLOT-85/+114
2024-07-09coverage. Fix panic when generating mcdc code for inlined functionszhuyunxing-0/+79
2024-07-09coverage. MCDC tests also report branches coveragezhuyunxing-6/+78
2024-07-09coverage. Group mcdc tests in one directoryzhuyunxing-18/+18
2024-07-08coverage: Extract hole spans from HIR instead of MIRZalathar-136/+109
2024-07-08coverage: Test for handling of nested item spansZalathar-0/+179
2024-06-28Rollup merge of #126956 - joboet:fmt_no_extern_ty, r=RalfJungMatthias Krüger-10/+10
2024-06-27Rollup merge of #126721 - Zalathar:nested-cov-attr, r=oli-obkJacob Pratt-152/+255
2024-06-26coverage: Allow `#[coverage(..)]` on `impl` and `mod`Zalathar-0/+206
2024-06-26coverage: Apply `#[coverage(..)]` recursively to nested functionsZalathar-152/+49
2024-06-26update coverage testjoboet-10/+10
2024-06-22Update coverage maps in testsScott McMurray-8/+8
2024-06-20I'd never even heard of a coverage mapScott McMurray-8/+8
2024-06-20Auto merge of #116088 - nbdd0121:unwind, r=Amanieu,RalfJungbors-6/+4
2024-06-19Remove c_unwind from tests and fix testsGary Guo-6/+4
2024-06-19Rollup merge of #125766 - RenjiSann:fresh-mcdc-branch-on-bool, r=nnethercoteLeón Orell Valerian Liehr-0/+478
2024-06-19tests(coverage): Bless mcdc_non_control_flow testsDorian Péron-38/+147
2024-06-18Rollup merge of #126621 - Zalathar:test-coverage-attr, r=petrochenkovGuillaume Gomez-0/+468
2024-06-18Add more thorough coverage tests for `#[coverage(..)]` in nested functionsZalathar-0/+468
2024-06-17coverage: Add debugging flag `-Zcoverage-options=no-mir-spans`Zalathar-0/+191
2024-06-12coverage: Replace the old span refiner with a single functionZalathar-4/+4
2024-06-12coverage: Add `tests/coverage/loop-break.rs`Zalathar-0/+41
2024-06-12coverage: Add `tests/coverage/assert-ne.rs`Zalathar-0/+58
2024-06-05tests(coverage): Add mcdc_non_control_flow testsDorian Péron-0/+369
2024-06-04coverage: Use hole spans to carve up coverage spans into separate bucketsZalathar-10/+6
2024-05-30coverage: Instrument the RHS value of lazy logical operatorsZalathar-45/+85
2024-05-30coverage: Add a test for `-Zcoverage-options=condition`Dorian Péron-0/+274
2024-05-29Rollup merge of #125700 - Zalathar:limit-overflow, r=nnethercoteMatthias Krüger-0/+270
2024-05-29coverage: Add tests for the MC/DC condition limitZalathar-0/+270
2024-05-29Manually run `x fmt` on all source files in `tests/coverage/`Zalathar-44/+34
2024-05-29Tweak various coverage test files for slightly nicer formattingZalathar-58/+54
2024-05-14coverage: Simplify counter expressions using simple algebraZalathar-1305/+804
2024-05-07Auto merge of #124223 - Zalathar:conditional-let, r=compiler-errorsbors-10/+34
2024-05-03Auto merge of #123602 - cjgillot:gvn-borrowed, r=oli-obkbors-14/+14
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-29Auto merge of #124255 - RenjiSann:renji/mcdc-nested-expressions, r=Zalatharbors-0/+506
2024-04-29tests(mcdc-coverage): Add tests for nested decision structures in mcdc_nested...Dorian Péron-0/+506
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-16/+16
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-20Rollup merge of #124053 - Zalathar:lazy-boolean, r=Mark-Simulacrum许杰友 Jieyou Xu (Joe)-15/+385
2024-04-20Dereference immutable borrows in GVN.Camille GILLOT-14/+14
2024-04-20coverage. Add basic tests for MC/DCzhuyunxing-0/+583
2024-04-17coverage: Branch coverage tests for lazy boolean operatorsZalathar-0/+370