From 797fc7c3f29655a67cb3757be84e59e7cedf22d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= <39484203+jieyouxu@users.noreply.github.com> Date: Thu, 5 Dec 2024 13:02:11 +0800 Subject: [PATCH] Remove `//@ compare-output-lines-by-subset` directive (#2151) --- src/tests/directives.md | 1 - src/tests/ui.md | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/tests/directives.md b/src/tests/directives.md index 24e0e3686..a709f7e29 100644 --- a/src/tests/directives.md +++ b/src/tests/directives.md @@ -94,7 +94,6 @@ for more details. | `check-run-results` | Check run test binary `run-{pass,fail}` output snapshot | `ui`, `crashes`, `incremental` if `run-pass` | N/A | | `error-pattern` | Check that output contains a regex pattern | `ui`, `crashes`, `incremental` if `run-pass` | Regex | | `check-stdout` | Check `stdout` against `error-pattern`s from running test binary[^check_stdout] | `ui`, `crashes`, `incremental` | N/A | -| `compare-output-lines-by-subset` | Check output contains the contents of the snapshot by lines opposed to checking for strict equality | `ui`, `coverage` | N/A | | `normalize-stderr-32bit` | Normalize actual stderr (for 32-bit platforms) with a rule `"" -> ""` before comparing against snapshot | `ui`, `incremental` | `"" -> ""`, ``/`` is regex capture and replace syntax | | `normalize-stderr-64bit` | Normalize actual stderr (for 64-bit platforms) with a rule `"" -> ""` before comparing against snapshot | `ui`, `incremental` | `"" -> ""`, ``/`` is regex capture and replace syntax | | `normalize-stderr-test` | Normalize actual stderr with a rule `"" -> ""` before comparing against snapshot | `ui`, `incremental` | `"" -> ""`, ``/`` is regex capture and replace syntax | diff --git a/src/tests/ui.md b/src/tests/ui.md index 23105a57f..0516c47fc 100644 --- a/src/tests/ui.md +++ b/src/tests/ui.md @@ -89,9 +89,6 @@ will 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 `-Zdeduplicate-diagnostics=no` flag which disables rustc's built-in diagnostic deduplication mechanism. This means you may see some