From 1fe9814d060dcf738016e17aaa8e5de64bb30865 Mon Sep 17 00:00:00 2001 From: clubby789 Date: Fri, 27 Dec 2024 12:21:52 +0000 Subject: [PATCH] Document `forbid-output` for UI tests (#2171) --- src/tests/directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/directives.md b/src/tests/directives.md index a709f7e29..20c242fc0 100644 --- a/src/tests/directives.md +++ b/src/tests/directives.md @@ -105,7 +105,7 @@ for more details. | `exec-env` | Env var to set when executing a test | `ui`, `crashes` | `=` | | `unset-exec-env` | Env var to unset when executing a test | `ui`, `crashes` | Any env var name | | `stderr-per-bitwidth` | Generate a stderr snapshot for each bitwidth | `ui` | N/A | -| `forbid-output` | A pattern which must not appear in `cfail` output | `incremental` | Regex pattern | +| `forbid-output` | A pattern which must not appear in stderr/`cfail` output | `ui`, `incremental` | Regex pattern | | `run-flags` | Flags passed to the test executable | `ui` | Arbitrary flags | | `known-bug` | No error annotation needed due to known bug | `ui`, `crashes`, `incremental` | Issue number `#123456` |