Skip to content

Commit

Permalink
date-check: test suites/classes using "revisions" (#1738)
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang authored Aug 27, 2023
1 parent 0985f5d commit 8082f48
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/tests/compiletest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8082f48

Please sign in to comment.