Suites are defined in enum Mode

This commit is contained in:
Santiago Pastorino 2020-02-17 12:24:57 -03:00 committed by Who? Me?!
parent 464f90bd19
commit 07adbd3e18
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ The tests themselves are typically (but not always) organized into
a folder holding tests that should compile successfully, a folder holding tests that should compile successfully,
but return a failure (non-zero status), `compile-fail`, a folder holding tests but return a failure (non-zero status), `compile-fail`, a folder holding tests
that should fail to compile, and many more. The various suites are defined in that should fail to compile, and many more. The various suites are defined in
[src/tools/compiletest/src/common.rs][common] in the `pub struct Config` [src/tools/compiletest/src/common.rs][common] in the `pub enum Mode`
declaration. And a very good introduction to the different suites of compiler declaration. And a very good introduction to the different suites of compiler
tests along with details about them can be found in [Adding new tests along with details about them can be found in [Adding new
tests](./tests/adding.html). tests](./tests/adding.html).