summary refs log tree commit diff
path: root/tests/coverage
AgeCommit message (Expand)AuthorLines
2024-11-08coverage: Restrict empty-span expansion to only cover `{` and `}`Zalathar-154/+152
2024-11-02coverage: Regression test for inlining into an uninstrumented crateZalathar-0/+32
2024-10-18Dont ICE when computing coverage of synthetic async closure bodyMichael Goulet-0/+95
2024-10-11coverage: Include the highest counter ID seen in `.cov-map` dumpsZalathar-0/+296
2024-10-11compiletest: Remove the magic hacks for finding output with `lto=thin`Zalathar-15/+0
2024-10-08Simplify the directives for ignoring coverage-test modesZalathar-5/+5
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-213/+107
2024-10-08coverage. Disable supporting mcdc on llvm-18zhuyunxing-10/+10
2024-10-05fix GVN trying to transmute pointers to integersRalf Jung-8/+8
2024-09-18Update the minimum external LLVM to 18Josh Stone-52/+42
2024-09-10coverage: Extract `executor::block_on` from several async coverage testsZalathar-277/+142
2024-09-06coverage: Treat await similar to a macroJonathan Conder-37/+30
2024-09-06coverage: Add test to codify existing behaviorJonathan Conder-0/+101
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