File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ To support you while debugging or profiling, we have added support for an experi
6
6
7
7
``` text
8
8
PrintTA // Print TypeAnalysis information
9
+ PrintTAFn // Print TypeAnalysis information for a specific function
9
10
PrintAA // Print ActivityAnalysis information
10
11
Print // Print differentiated functions while they are being generated and optimized
11
12
PrintPerf // Print AD related Performance warnings
Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ used for many other purposes. For example, tests can also be configured to [run
13
13
the resulting program] ( #controlling-passfail-expectations ) to verify its
14
14
behavior.
15
15
16
+ For a survey of each subdirectory's purpose under ` tests/ui ` , consult the
17
+ [ SUMMARY.md] ( https://github.com/rust-lang/rust/tree/master/tests/ui/SUMMARY.md ) .
18
+ This is useful if you write a new test, and are looking for a category to
19
+ place it in.
20
+
16
21
If you need to work with ` #![no_std] ` cross-compiling tests, consult the
17
22
[ ` minicore ` test auxiliary] ( ./minicore.md ) chapter.
18
23
@@ -54,6 +59,11 @@ The output is normalized to ignore unwanted differences, see the
54
59
[ Normalization] ( #normalization ) section. If the file is missing, then
55
60
compiletest expects the corresponding output to be empty.
56
61
62
+ A common reason to use normalization, revisions, and most of the other following tools,
63
+ is to account for platform differences. Consider alternatives to these tools, like
64
+ e.g. using the ` extern "rust-invalid" ` ABI that is invalid on every platform
65
+ instead of fixing the test to use cross-compilation and testing every possibly-invalid ABI.
66
+
57
67
There can be multiple stdout/stderr files. The general form is:
58
68
59
69
``` text
You can’t perform that action at this time.
0 commit comments