Suites are defined in enum Mode
This commit is contained in:
parent
464f90bd19
commit
07adbd3e18
|
|
@ -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).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue