File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,8 @@ See [compiletest directives] for a listing of directives.
175
175
- For ` ignore-* ` /` needs-* ` /` only-* ` directives, unless extremely obvious,
176
176
provide a brief remark on why the directive is needed. E.g. `"//@ ignore-wasi
177
177
(wasi codegens the main symbol differently)"`.
178
+ - When using ` //@ ignore-auxiliary ` , specify the corresponding main test files,
179
+ e.g. `` //@ ignore-auxiliary (used by `./foo.rs`) `` .
178
180
179
181
## FileCheck best practices
180
182
Original file line number Diff line number Diff line change @@ -124,6 +124,9 @@ means the test won't be compiled or run.
124
124
* ` ignore-X ` where ` X ` is a target detail or other criteria on which to ignore the test (see below)
125
125
* ` only-X ` is like ` ignore-X ` , but will * only* run the test on that target or
126
126
stage
127
+ * ` ignore-auxiliary ` is intended for files that * participate* in one or more other
128
+ main test files but that ` compiletest ` should not try to build the file itself.
129
+ Please backlink to which main test is actually using the auxiliary file.
127
130
* ` ignore-test ` always ignores the test. This can be used to temporarily disable
128
131
a test if it is currently not working, but you want to keep it in tree to
129
132
re-enable it later.
You can’t perform that action at this time.
0 commit comments