diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-04-22 13:50:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-22 20:50:11 +0900 |
| commit | 62924088231a70a7fe93784ddf0e7e330eda5a34 (patch) | |
| tree | f52d2cad5210e85d2bfc10a547e761c8af5ad3d6 /src/doc | |
| parent | 6a1ec81e08adddfbd57a4833a0cdceb87ed6ff78 (diff) | |
| download | rust-62924088231a70a7fe93784ddf0e7e330eda5a34.tar.gz rust-62924088231a70a7fe93784ddf0e7e330eda5a34.zip | |
Add docs for compare-output-lines-by-subset flag (#1677)
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/headers.md | 2 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/ui.md | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/headers.md b/src/doc/rustc-dev-guide/src/tests/headers.md index 5b71f3ea176..e5e403b5e58 100644 --- a/src/doc/rustc-dev-guide/src/tests/headers.md +++ b/src/doc/rustc-dev-guide/src/tests/headers.md @@ -52,6 +52,8 @@ found in [`header.rs`] from the compiletest source. * [`stderr-per-bitwidth`](ui.md#output-comparison) — separate output per bit width * [`dont-check-compiler-stderr`](ui.md#output-comparison) — don't validate stderr * [`dont-check-compiler-stdout`](ui.md#output-comparison) — don't validate stdout + * [`compare-output-lines-by-subset`](ui.md#output-comparison) — checks output by + line subset * [Building auxiliary crates](compiletest.md#building-auxiliary-crates) * `aux-build` * `aux-crate` diff --git a/src/doc/rustc-dev-guide/src/tests/ui.md b/src/doc/rustc-dev-guide/src/tests/ui.md index cc32ad1d3ac..d94d8cc4e09 100644 --- a/src/doc/rustc-dev-guide/src/tests/ui.md +++ b/src/doc/rustc-dev-guide/src/tests/ui.md @@ -84,6 +84,9 @@ check for output files: [Normalization](#normalization)). * `dont-check-compiler-stderr` — Ignores stderr from the compiler. * `dont-check-compiler-stdout` — Ignores stdout from the compiler. +* `compare-output-lines-by-subset` — Checks that the output contains the + contents of the stored output files by lines opposed to checking for strict + equality. UI tests run with with `-Zdeduplicate-diagnostics=no` flag which disables rustc's built-in diagnostic deduplication mechanism. |
