Skip to content

Commit 613e260

Browse files
authored
Merge pull request #2845 from rust-lang/rustc-pull
Rustc pull update
2 parents db9bb02 + b7117fb commit 613e260

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
84c11900724736a2b9afac4822031d78a9ed8e86
1+
cf1817bc6ecd2d14ca492247c804bad31948dd56

src/tests/compiletest.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,12 @@ series of steps.
156156
Compiletest starts with an empty directory with the `-C incremental` flag, and
157157
then runs the compiler for each revision, reusing the incremental results from previous steps.
158158

159-
The revisions should start with:
159+
Each revision name must start with one of:
160160

161-
* `bfail` — the test should fail to compile
162-
* `bpass` — the test should compile successully
163-
* `rpass` — the test should compile and run successfully
161+
* `cpass` - the test must compile successfully (check build, no codegen)
162+
* `bfail` — the test must fail to compile (full build, with codegen)
163+
* `bpass` — the test must compile successully (full build, with codegen)
164+
* `rpass` — the test must compile and run successfully
164165

165166
To make the revisions unique, you should add a suffix like `rpass1` and `rpass2`.
166167

src/tests/directives.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ See [Controlling pass/fail expectations](ui.md#controlling-passfail-expectations
7070

7171
| Directive | Explanation | Supported test suites | Possible values |
7272
|-----------------------------|---------------------------------------------|-------------------------------------------|-----------------|
73-
| `check-pass` | Building (no codegen) should pass | `ui`, `crashes`, `incremental` | N/A |
73+
| `check-pass` | Building (no codegen) should pass | `ui`, `crashes` | N/A |
7474
| `check-fail` | Building (no codegen) should fail | `ui`, `crashes` | N/A |
75-
| `build-pass` | Building should pass | `ui`, `crashes`, `codegen`, `incremental` | N/A |
75+
| `build-pass` | Building should pass | `ui`, `crashes`, `codegen` | N/A |
7676
| `build-fail` | Building should fail | `ui`, `crashes` | N/A |
77-
| `run-pass` | Program must exit with code `0` | `ui`, `crashes`, `incremental` | N/A |
77+
| `run-pass` | Program must exit with code `0` | `ui`, `crashes` | N/A |
7878
| `run-fail` | Program must exit with code `1..=127` | `ui`, `crashes` | N/A |
7979
| `run-crash` | Program must crash | `ui` | N/A |
8080
| `run-fail-or-crash` | Program must `run-fail` or `run-crash` | `ui` | N/A |
@@ -90,9 +90,9 @@ comparison](ui.md#output-comparison) and [Rustfix tests](ui.md#rustfix-tests) fo
9090

9191
| Directive | Explanation | Supported test suites | Possible values |
9292
|-----------------------------------|--------------------------------------------------------------------------------------------------------------------------|----------------------------------------------|-----------------------------------------------------------------------------------------|
93-
| `check-run-results` | Check run test binary `run-{pass,fail}` output snapshot | `ui`, `crashes`, `incremental` if `run-pass` | N/A |
94-
| `error-pattern` | Check that output contains a specific string | `ui`, `crashes`, `incremental` if `run-pass` | String |
95-
| `regex-error-pattern` | Check that output contains a regex pattern | `ui`, `crashes`, `incremental` if `run-pass` | Regex |
93+
| `check-run-results` | Check run test binary `run-{pass,fail}` output snapshot | `ui`, `crashes`, `incremental` | N/A |
94+
| `error-pattern` | Check that output contains a specific string | `ui`, `crashes`, `incremental` | String |
95+
| `regex-error-pattern` | Check that output contains a regex pattern | `ui`, `crashes`, `incremental` | Regex |
9696
| `check-stdout` | Check `stdout` against `error-pattern`s from running test binary[^check_stdout] | `ui`, `crashes`, `incremental` | N/A |
9797
| `normalize-stderr-32bit` | Normalize actual stderr (for 32-bit platforms) with a rule `"<raw>" -> "<normalized>"` before comparing against snapshot | `ui`, `incremental` | `"<RAW>" -> "<NORMALIZED>"`, `<RAW>`/`<NORMALIZED>` is regex capture and replace syntax |
9898
| `normalize-stderr-64bit` | Normalize actual stderr (for 64-bit platforms) with a rule `"<raw>" -> "<normalized>"` before comparing against snapshot | `ui`, `incremental` | `"<RAW>" -> "<NORMALIZED>"`, `<RAW>`/`<NORMALIZED>` is regex capture and replace syntax |

0 commit comments

Comments
 (0)