File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,10 @@ The following test suites are available, with links for more information:
7878
7979[ ` run-make ` ] ( #run-make-tests ) are general purpose tests using Rust programs.
8080
81+ ### The build-std test suite
82+
83+ [ ` build-std ` ] ( #build-std-tests ) test that -Zbuild-std works.
84+
8185### Rustdoc test suites
8286
8387| Test suite | Purpose |
@@ -429,6 +433,12 @@ use cases that require testing in-tree `cargo` in conjunction with in-tree `rust
429433The ` run-make ` test suite does not have access to in-tree ` cargo ` (so it can be the
430434faster-to-iterate test suite).
431435
436+ ### ` build-std ` tests
437+
438+ The tests in [ ` tests/build-std ` ] check that ` -Zbuild-std ` works. This is currently
439+ just a run-make test suite with a single recipe. The recipe generates test cases
440+ and runs them in parallel.
441+
432442#### Using Rust recipes
433443
434444Each test should be in a separate directory with a ` rmake.rs ` Rust program,
Original file line number Diff line number Diff line change @@ -139,6 +139,10 @@ prefixing each source line are replaced with `LL`). In extremely rare
139139situations, this mode can be disabled with the directive `//@
140140compile-flags: -Z ui-testing=no`.
141141
142+ When using ` -Z ui-testing=no ` the ` --diagnostic-width ` argument should also
143+ be set to avoid tests failing or passing depending on the width of the terminal
144+ from which the UI test suite is being run.
145+
142146Note: The line and column numbers for ` --> ` lines pointing to the test are * not*
143147normalized, and left as-is. This ensures that the compiler continues to point to
144148the correct location, and keeps the stderr files readable. Ideally all
You can’t perform that action at this time.
0 commit comments