clarify run-rustfix compiletest header
This commit is contained in:
parent
9ce550e95b
commit
659bde0203
|
|
@ -149,9 +149,12 @@ exhaustive. Header commands can generally be found by browsing the
|
||||||
source.
|
source.
|
||||||
|
|
||||||
* `run-rustfix` for UI tests, indicates that the test produces
|
* `run-rustfix` for UI tests, indicates that the test produces
|
||||||
structured suggestions, which are then applied and the final
|
structured suggestions. The test writer should create a `.fixed`
|
||||||
source is stored in a `.fixed` file and compiled again. The final
|
file, which contains the source with the suggestions applied.
|
||||||
compilation is required to succeed.
|
When the test is run, compiletest first checks that the correct
|
||||||
|
lint/warning is generated. Then, it applies the suggestion and
|
||||||
|
compares against `.fixed` (they must match). Finally, the fixed
|
||||||
|
source is compiled, and this compilation is required to succeed.
|
||||||
* `min-{gdb,lldb}-version`
|
* `min-{gdb,lldb}-version`
|
||||||
* `min-llvm-version`
|
* `min-llvm-version`
|
||||||
* `compile-pass` for UI tests, indicates that the test is
|
* `compile-pass` for UI tests, indicates that the test is
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue