about summary refs log tree commit diff
path: root/tests/coverage
AgeCommit message (Expand)AuthorLines
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
2024-04-17coverage: Move branch coverage tests into a subdirectoryZalathar-15/+15
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-6/+6
2024-03-26coverage: Re-enable `UnreachablePropagation` for coverage buildsZalathar-3/+3
2024-03-20coverage: Remove incorrect assertions from counter allocationZalathar-2/+2
2024-03-20coverage: Regression test for ICE triggered by self-loopsZalathar-0/+98
2024-03-14coverage: Enable branch coverage in the branch coverage testsZalathar-116/+272
2024-03-13coverage: Add branch coverage tests (with branch coverage disabled)Zalathar-0/+707
2024-03-13coverage: Remove all unstable values of `-Cinstrument-coverage`Zalathar-20/+10
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-112/+112
2024-02-21coverage: Eagerly deduplicate covspans with the same spanZalathar-10/+8
2024-02-18Update coverage-run testsVadim Petrochenkov-5/+5
2024-02-18macro_rules: Preserve all metavariable spans in a global side tableVadim Petrochenkov-0/+20
2024-02-16coverage: Discard spans that fill the entire function bodyZalathar-29/+20
2024-02-16coverage: Regression test for a span extraction inconsistencyZalathar-0/+93
2024-02-09Enable by default.Camille GILLOT-178/+139
2024-02-05coverage: Make unexpansion of closure bodies more preciseZalathar-32/+48
2024-02-05coverage: Add a test for `#[coverage(..)]` on closuresZalathar-0/+119
2024-02-05coverage: Test for closure body that is a single bang-macroZalathar-0/+51
2024-02-02coverage: Use normal `edition:` headers in coverage testsZalathar-40/+40
2024-01-24Rollup merge of #120185 - Zalathar:auto-derived, r=wesleywiserLeón Orell Valerian Liehr-94/+4
2024-01-22coverage: Don't instrument `#[automatically_derived]` functionsZalathar-94/+4
2024-01-21Add `#[coverage(off)]` to closures introduced by `#[test]`/`#[bench]`Zalathar-18/+2
2024-01-21coverage: Add a test that uses `#[bench]`Zalathar-0/+33
2024-01-21Rollup merge of #120015 - Zalathar:format, r=dtolnayNadrieril-218/+282
2024-01-18coverage: Format all remaining testsZalathar-54/+70
2024-01-17Remove unnecessary `let`s and borrowing from `Waker::noop()` usage.Kevin Reid-16/+8
2024-01-16coverage: Tweak individual tests to be unaffected by `rustfmt`Zalathar-22/+34
2024-01-16coverage: Add `#[rustfmt::skip]` to tests with non-standard formattingZalathar-142/+178
2024-01-08coverage: `llvm-cov` expects column numbers to be bytes, not code pointsZalathar-12/+52