Skip to content

Commit 2a5eb92

Browse files
authored
Add docs for compare-output-lines-by-subset flag (#1677)
1 parent d0d581b commit 2a5eb92

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/tests/headers.md

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ found in [`header.rs`] from the compiletest source.
5252
* [`stderr-per-bitwidth`](ui.md#output-comparison) — separate output per bit width
5353
* [`dont-check-compiler-stderr`](ui.md#output-comparison) — don't validate stderr
5454
* [`dont-check-compiler-stdout`](ui.md#output-comparison) — don't validate stdout
55+
* [`compare-output-lines-by-subset`](ui.md#output-comparison) — checks output by
56+
line subset
5557
* [Building auxiliary crates](compiletest.md#building-auxiliary-crates)
5658
* `aux-build`
5759
* `aux-crate`

src/tests/ui.md

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ check for output files:
8484
[Normalization](#normalization)).
8585
* `dont-check-compiler-stderr` — Ignores stderr from the compiler.
8686
* `dont-check-compiler-stdout` — Ignores stdout from the compiler.
87+
* `compare-output-lines-by-subset` — Checks that the output contains the
88+
contents of the stored output files by lines opposed to checking for strict
89+
equality.
8790

8891
UI tests run with with `-Zdeduplicate-diagnostics=no` flag which disables
8992
rustc's built-in diagnostic deduplication mechanism.

0 commit comments

Comments
 (0)