diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2023-08-27 02:59:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-27 09:59:53 +0900 |
| commit | d0e8ea601acff03bb7176b34288b4fc52b7a836e (patch) | |
| tree | ecb8ce65c41a9677742ad5cbcaf891fb9e53bda8 /src/doc/rustc-dev-guide | |
| parent | ba645dbd57bfe1e3c74d9545901cb96dcae6e63c (diff) | |
| download | rust-d0e8ea601acff03bb7176b34288b4fc52b7a836e.tar.gz rust-d0e8ea601acff03bb7176b34288b4fc52b7a836e.zip | |
date-check: test suites/classes using "revisions" (#1738)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/compiletest.md | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md index 86ebe3a4957..9c969bff9eb 100644 --- a/src/doc/rustc-dev-guide/src/tests/compiletest.md +++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md @@ -467,9 +467,6 @@ fn main() { ## Revisions -Certain classes of tests support "revisions" (as of <!-- date-check --> July 2022, -this includes UI, assembly, codegen, debuginfo, incremental, and rustdoc UI tests, -though incremental tests are somewhat different). Revisions allow a single test file to be used for multiple tests. This is done by adding a special header at the top of the file: @@ -503,6 +500,15 @@ currently only apply to the test as a whole, not to particular revisions. The only headers that are intended to really work when customized to a revision are error patterns and compiler flags. +<!-- date-check jul 2023 --> +Following is classes of tests that support revisions: +- UI +- assembly +- codegen +- debuginfo +- rustdoc UI tests +- incremental (these are special in that they inherently cannot be run in parallel) + ## Compare modes Compiletest can be run in different modes, called _compare modes_, which can |
