@@ -150,7 +150,7 @@ source.
150
150
compares against ` .fixed ` (they must match). Finally, the fixed
151
151
source is compiled, and this compilation is required to succeed.
152
152
The ` .fixed ` file can also be generated automatically with the
153
- ` --bless ` option, discussed [ below ] ( # bless) .
153
+ ` --bless ` option, discribed in [ this section ] [ bless ] .
154
154
* ` min-gdb-version ` specifies the minimum gdb version required for
155
155
this test; see also ` ignore-gdb-version `
156
156
* ` min-lldb-version ` specifies the minimum lldb version required for
@@ -185,6 +185,7 @@ source.
185
185
have a gate test.
186
186
187
187
[ `header.rs` ] : https://github.com/rust-lang/rust/tree/master/src/tools/compiletest/src/header.rs
188
+ [ bless ] : ./running.md#editing-and-updating-the-reference-files
188
189
189
190
<a name =" error_annotations " ></a >
190
191
@@ -284,22 +285,6 @@ you can even run the resulting program. Just add one of the following
284
285
- ` // run-pass ` – compilation should succeed and we should run the
285
286
resulting binary
286
287
287
- <a name =" bless " ></a >
288
-
289
- ### Editing and updating the reference files
290
-
291
- If you have changed the compiler's output intentionally, or you are
292
- making a new test, you can pass ` --bless ` to the test subcommand. E.g.
293
- if some tests in ` src/test/ui ` are failing, you can run
294
-
295
- ``` text
296
- ./x.py test --stage 1 src/test/ui --bless
297
- ```
298
-
299
- to automatically adjust the ` .stderr ` , ` .stdout ` or ` .fixed ` files of
300
- all tests. Of course you can also target just specific tests with the
301
- ` --test-args your_test_name ` flag, just like when running the tests.
302
-
303
288
### Normalization
304
289
305
290
The normalization applied is aimed at eliminating output difference
0 commit comments