about summary refs log tree commit diff
path: root/tests/coverage/auxiliary
AgeCommit message (Collapse)AuthorLines
2025-07-29coverage: Regression test for "function name is empty" bugZalathar-0/+31
The bug was triggered by a particular usage of the `?` try operator in a proc-macro expansion. Thanks to lqd for the minimization. Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
2024-12-23Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, ↵Zalathar-0/+1
r=wesleywiser" This reverts commit 1d35638dc38dbfbf1cc2a9823135dfcf3c650169, reversing changes made to f23a80a4c2fbca593b64e70f5970368824b4c5e9.
2024-12-19coverage: Add a synthetic test for when all spans are discardedZalathar-0/+6
2024-12-16Stabilize #[coverage] attributeltdk-1/+0
2024-12-05Stabilize noop_wakerEric Holk-1/+1
Co-authored-by: zachs18 <8355914+zachs18@users.noreply.github.com>
2024-11-02coverage: Regression test for inlining into an uninstrumented crateZalathar-0/+13
2024-09-10coverage: Extract `executor::block_on` from several async coverage testsZalathar-0/+19
By moving `block_on` to an auxiliary crate, we avoid having to keep a separate copy of it in every async test. (This also incorporates some small tweaks to the headers in `await_ready.rs`.)
2024-05-29Tweak various coverage test files for slightly nicer formattingZalathar-10/+10
For coverage tests, splitting code across multiple lines often makes the resulting coverage report easier to interpret, so we force rustfmt to retain line breaks by adding dummy line comments with `//`.
2024-03-13coverage: Remove all unstable values of `-Cinstrument-coverage`Zalathar-10/+5
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-4/+4
2023-11-13coverage: Regression test for #117788Zalathar-0/+10
Without the workaround applied, this test will produce malformed mappings that cause `llvm-cov` to fail. (And if it does emit well-formed mappings, they should be obviously incorrect.)
2023-11-07coverage: Migrate `tests/run-coverage` into `tests/coverage`Zalathar-0/+214