Skip to content

Commit

Permalink
Add docs for compare-output-lines-by-subset flag (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril authored Apr 22, 2023
1 parent d0d581b commit 2a5eb92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
3 changes: 3 additions & 0 deletions src/tests/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2a5eb92

Please sign in to comment.