From 75aad4b9d935b60d522eb80c63db5d91d3668c21 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?= Date: Fri, 16 Feb 2024 23:19:18 +0000 Subject: [PATCH] Specify ui test suite directives and add note on ignore-tidy directives --- src/tests/ui.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/tests/ui.md b/src/tests/ui.md index 15d5f9a61..cffecda82 100644 --- a/src/tests/ui.md +++ b/src/tests/ui.md @@ -29,10 +29,12 @@ the source file. See [Error annotations](#error-annotations) for more. [Headers](headers.md) in the form of comments at the top of the file control -how the test is compiled and what the expected behavior is. Note that ui -tests require the use of `//@ header-name` instead of `// header-name` like -the other test suites do. The other test suites will be migrated to use the `//@` -syntax too, but that is in progress. +how the test is compiled and what the expected behavior is. Note that tests in +the "ui" test suite require the use of `//@ header-name` instead of +`// header-name` like the other test suites do. The other test suites will be +migrated to use the `//@` syntax too, but that is in progress. Additionally, +`// ignore-tidy` and `// ignore-tidy-*` are ignored by compiletest when +handling "ui" test suite tests (note that they are not `//@` directives). Tests are expected to fail to compile, since most tests are testing compiler errors.