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
66
77``` text
88PrintTA // Print TypeAnalysis information
9+ PrintTAFn // Print TypeAnalysis information for a specific function
910PrintAA // Print ActivityAnalysis information
1011Print // Print differentiated functions while they are being generated and optimized
1112PrintPerf // 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
1313the resulting program] ( #controlling-passfail-expectations ) to verify its
1414behavior.
1515
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+
1621If you need to work with ` #![no_std] ` cross-compiling tests, consult the
1722[ ` minicore ` test auxiliary] ( ./minicore.md ) chapter.
1823
@@ -54,6 +59,11 @@ The output is normalized to ignore unwanted differences, see the
5459[ Normalization] ( #normalization ) section. If the file is missing, then
5560compiletest expects the corresponding output to be empty.
5661
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+
5767There can be multiple stdout/stderr files. The general form is:
5868
5969``` text
You can’t perform that action at this time.
0 commit comments