summary refs log tree commit diff
path: root/tests/coverage
AgeCommit message (Expand)AuthorLines
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
2024-01-08coverage: Test for column numbers involving non-ASCII charactersZalathar-0/+89
2024-01-05Rollup merge of #119208 - Zalathar:hoist, r=WaffleLapkin,SwatinemMichael Goulet-27/+21
2024-01-05Allow coverage tests to enable `llvm-cov --use-color`Zalathar-0/+24
2024-01-05Allow tests to ignore individual test modesZalathar-0/+18
2024-01-05coverage: Hoist the splitting of visible macro invocationsZalathar-24/+18
2024-01-05coverage: Overhaul how "visible macros" are determinedZalathar-3/+3
2024-01-04macro_rules: Less hacky heuristic for using `tt` metavariable spansVadim Petrochenkov-20/+7
2023-12-24Enable GVN by default.Camille GILLOT-12/+10
2023-12-20coverage: Add a test for `async` blocksZalathar-0/+104
2023-12-18Rollup merge of #118852 - Zalathar:no-spans, r=cjgillotMatthias Krüger-0/+67
2023-12-16coverage: Regression test for `assert!(!false)`Zalathar-0/+39
2023-12-16coverage: Regression test for markers in a function with no spansZalathar-0/+67
2023-12-15coverage: Use `Waker::noop` in async testsZalathar-354/+135
2023-12-09Rollup merge of #118666 - Zalathar:body-closure, r=cjgillotJubilee-0/+67
2023-12-08coverage: Regression test for unwrapping `prev` when there are no spansZalathar-0/+67
2023-12-08coverage: Use `SpanMarker` to mark the full condition of `if !`Zalathar-12/+12
2023-12-08coverage: Add a dedicated test for coverage of `if !`Zalathar-0/+114
2023-12-03coverage: Skip spans that can't be un-expanded back to the function bodyZalathar-23/+23
2023-11-30Auto merge of #118036 - DianQK:thinlto-tests, r=tmiaskobors-0/+17
2023-11-30Add thinlto support to codegen, assembly and coverage testsDianQK-0/+17
2023-11-25coverage: Simplify building coverage expressions based on sumsZalathar-100/+100
2023-11-13coverage: Regression test for #117788Zalathar-0/+90
2023-11-08coverage: Rename the `run-coverage` test mode to `coverage-run`Zalathar-3/+3
2023-11-07coverage: Register `test::Coverage` as the test suite for `tests/coverage`Zalathar-7/+10
2023-11-07coverage: Migrate `tests/coverage-map` into `tests/coverage`Zalathar-0/+3745
2023-11-07coverage: Migrate `tests/run-coverage` into `tests/coverage`Zalathar-0/+5849