Skip to content

Commit b457001

Browse files
ehussjyn514
authored andcommitted
Remove some legacy test suites.
1 parent 07dcb9e commit b457001

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/compiletest.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ and more. If you are unfamiliar with the compiler testing framework,
1616
see [this chapter](./tests/intro.md) for additional background.
1717

1818
The tests themselves are typically (but not always) organized into
19-
"suites" – for example, `run-fail`, a folder holding tests that should compile
20-
successfully, but return a failure (non-zero status) at runtime, `compile-fail`,
21-
a folder holding tests that should fail to compile, and many more. The various
19+
"suites" – for example, `incremental`, a folder holding tests that check
20+
incremental compilation behavior, `codegen`,
21+
a folder holding tests that check code generation, and many more. The various
2222
suites are defined in [`src/tools/compiletest/src/common.rs`] in the
2323
`pub enum Mode` declaration. And a good introduction to the different
2424
suites of compiler tests along with details about them can be found in

src/tests/adding.md

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ rough heuristics:
4343
message is not relevant to the test. These should have an
4444
[error number] (`E0XXX`) in the code block to make sure it's the correct error.
4545
- For most other things, [a `ui` (or `ui-fulldeps`) test](#ui) is to be preferred:
46-
- [`ui`](#ui) tests subsume both `run-pass`, `compile-fail`, and `parse-fail` tests
4746
- in the case of warnings or errors, `ui` tests capture the full output,
4847
which makes it easier to review but also helps prevent "hidden" regressions
4948
in the output

0 commit comments

Comments
 (0)