| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-11-07 | coverage: Migrate `tests/run-coverage` into `tests/coverage` | Zalathar | -5849/+0 | |
| 2023-11-07 | coverage: Copy all remaining coverage-map tests into run-coverage | Zalathar | -0/+308 | |
| 2023-11-07 | coverage: Use `-Copt-level=2` by default in run-coverage tests | Zalathar | -2/+4 | |
| This is a step towards being able to unify the two coverage test directories. There are two tests that require adjustment: - `overflow.rs` requires an explicit `-Coverflow-checks=yes` - `sort_groups.rs` is sensitive to provably unused instantiations | ||||
| 2023-10-28 | coverage: Consistently remove unused counter IDs from expressions/mappings | Zalathar | -12/+13 | |
| 2023-10-28 | coverage: Regression test for #17012 (bad counter IDs in mappings) | Zalathar | -0/+134 | |
| 2023-10-21 | coverage: Handle fn signature spans more consistently near `?` | Zalathar | -5/+5 | |
| 2023-10-21 | coverage: Add a test showing the inconsistent handling of function signatures | Zalathar | -0/+86 | |
| 2023-10-20 | Replace all uses of `generator` in markdown documentation with `coroutine` | Oli Scherer | -12/+12 | |
| 2023-10-20 | Rename lots of files that had `generator` in their name | Oli Scherer | -0/+0 | |
| 2023-10-20 | s/generator/coroutine/ | Oli Scherer | -20/+20 | |
| 2023-10-20 | s/Generator/Coroutine/ | Oli Scherer | -8/+8 | |
| 2023-10-01 | coverage: Regression test for functions with unreachable bodies | Zalathar | -0/+75 | |
| 2023-09-18 | coverage: Regression test for inconsistent handling of closure spans | Zalathar | -0/+97 | |
| 2023-09-18 | coverage: Fix an unstable-sort inconsistency in coverage spans | Zalathar | -7/+7 | |
| This code was calling `sort_unstable_by`, but failed to impose a total order on the initial spans. That resulted in unpredictable handling of closure spans, producing inconsistencies in the coverage maps and in user-visible coverage reports. This patch fixes the problem by always sorting closure spans before otherwise-identical non-closure spans, and also switches to a stable sort in case the ordering is still not total. | ||||
| 2023-09-08 | Fix up run-coverage and coverage-map/status-quo tests | Andy Caldwell | -30/+30 | |
| 2023-09-01 | update tests that are ignored by debug | Ding Xiang Fei | -1/+1 | |
| 2023-08-26 | Various trivial formatting fixes in `run-coverage` tests | Zalathar | -92/+48 | |
| These changes were made by manually running `rustfmt` on all of the test files, and then manually undoing all cases where the original formatting appeared to have been deliberate. `rustfmt +nightly --config-path=/dev/null --edition=2021 tests/run-coverage*/**/*.rs` | ||||
| 2023-08-26 | Tidy up some awkwardly-placed comments in tests | Zalathar | -8/+24 | |
| Prior to #114875, these tests were very sensitive to lines being added/removed, so the migration to `run-coverage` in #112300 tried hard to avoid disturbing the existing line numbers. That resulted in some awkward reshuffling when certain comments/directives needed to be added or moved. Now that we don't have to worry about preserving line numbers, we can rearrange those comments into a more conventional layout. | ||||
| 2023-08-26 | Resolve all warnings in `run-coverage` tests | Zalathar | -20/+22 | |
| When one of these tests fails, any compiler warnings will be printed to the console, which makes it harder to track down the actual reason for failure. (The outstanding warnings were found by temporarily adding `-Dwarnings` to the compiler arguments for `RunCoverage` in `src/tools/compiletest/src/runtest.rs`.) | ||||
| 2023-08-17 | coverage: Anonymize line numbers in `run-coverage` test snapshots | Zalathar | -2547/+2547 | |
| This makes the test snapshots less sensitive to lines being added/removed. | ||||
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -2/+2 | |
| 2023-07-06 | Re-enable some coverage tests on Linux | Zalathar | -8/+8 | |
| 2023-06-28 | Re-bless the newly-migrated tests | Zalathar | -12/+68 | |
| 2023-06-28 | Migrate the remaining `run-make/coverage-reports` tests over to `run-coverage` | Zalathar | -0/+599 | |
| To make it easier to verify that the output snapshots have been migrated faithfully, this change adds some temporary helper code that lets us avoid having to completely re-bless the existing snapshots. A later change in this PR will then re-bless the tests and remove the temporary helper code. | ||||
| 2023-06-28 | Migrate most of the existing coverage tests over to `run-coverage` | Zalathar | -0/+4517 | |
