diff options
| author | Eric Huss <eric@huss.org> | 2021-01-30 03:12:01 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-30 20:12:01 +0900 |
| commit | efdb545ac72f76605b0209a239451de0c4457d0d (patch) | |
| tree | 5e8f192bda5a5dfc00a8c04466537cf809d315f8 /src/doc/rustc-dev-guide | |
| parent | 76c8acfe5c3741f02cebe6188814e7c28296c94d (diff) | |
| download | rust-efdb545ac72f76605b0209a239451de0c4457d0d.tar.gz rust-efdb545ac72f76605b0209a239451de0c4457d0d.zip | |
Update test suite descriptions. (#1042)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/intro.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/intro.md b/src/doc/rustc-dev-guide/src/tests/intro.md index cab06df554d..55be23cd6c0 100644 --- a/src/doc/rustc-dev-guide/src/tests/intro.md +++ b/src/doc/rustc-dev-guide/src/tests/intro.md @@ -29,10 +29,6 @@ details. - [`ui`](./adding.html#ui) – tests that check the exact stdout/stderr from compilation and/or running the test - `run-pass-valgrind` – tests that ought to run with valgrind -- `run-fail` – tests that are expected to compile but then panic - during execution -- `compile-fail` – tests that are expected to fail compilation. -- `parse-fail` – tests that are expected to fail to parse - `pretty` – tests targeting the Rust "pretty printer", which generates valid Rust code from the AST - `debuginfo` – tests that run in gdb or lldb and query the debug info @@ -40,6 +36,8 @@ details. code to make sure that the optimizations we want are taking effect. See [LLVM docs](https://llvm.org/docs/CommandGuide/FileCheck.html) for how to write such tests. +- `codegen-units` – tests for the [monomorphization](../backend/monomorph.md) + collector and CGU partitioning - `assembly` – similar to `codegen` tests, but verifies assembly output to make sure LLVM target backend can handle provided code. - `mir-opt` – tests that check parts of the generated MIR to make @@ -52,6 +50,9 @@ details. ultimate in flexibility but quite annoying to write. - `rustdoc` – tests for rustdoc, making sure that the generated files contain the expected documentation. +- `rustfix` – tests for applying [diagnostic + suggestions](../diagnostics.md#suggestions) with the + [`rustfix`](https://github.com/rust-lang/rustfix/) crate - `*-fulldeps` – same as above, but indicates that the test depends on things other than `std` (and hence those things must be built) |
