File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,12 @@ rough heuristics:
29
29
- need to run gdb or lldb? use the ` debuginfo ` test suite
30
30
- need to inspect LLVM IR or MIR IR? use the ` codegen ` or ` mir-opt ` test
31
31
suites
32
- - need to run rustdoc? Prefer a ` rustdoc ` test
32
+ - need to run rustdoc? Prefer a ` rustdoc ` or ` rustdoc-ui ` test. Occasionally you'll need ` rustdoc-js ` as well.
33
33
- need to inspect the resulting binary in some way? Then use ` run-make `
34
+ - Library tests should go in ` library/$crate/tests ` (where ` $crate ` is usually ` core ` , ` alloc ` , or ` std ` ).
34
35
- For most other things, [ a ` ui ` (or ` ui-fulldeps ` ) test] ( #ui ) is to be
35
36
preferred:
36
- - ` ui ` tests subsume both run-pass, compile-fail, and parse-fail tests
37
+ - ` ui ` tests subsume both ` run-pass ` , ` compile-fail ` , and ` parse-fail ` tests
37
38
- in the case of warnings or errors, ` ui ` tests capture the full output,
38
39
which makes it easier to review but also helps prevent "hidden" regressions
39
40
in the output
You can’t perform that action at this time.
0 commit comments