Specify ui test suite directives and add note on ignore-tidy directives

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-02-16 23:19:18 +00:00 committed by Michael Goulet
parent 2c01b499aa
commit 75aad4b9d9
1 changed files with 6 additions and 4 deletions

View File

@ -29,10 +29,12 @@ the source file.
See [Error annotations](#error-annotations) for more. See [Error annotations](#error-annotations) for more.
[Headers](headers.md) in the form of comments at the top of the file control [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 how the test is compiled and what the expected behavior is. Note that tests in
tests require the use of `//@ header-name` instead of `// header-name` like the "ui" test suite require the use of `//@ header-name` instead of
the other test suites do. The other test suites will be migrated to use the `//@` `// header-name` like the other test suites do. The other test suites will be
syntax too, but that is in progress. 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 Tests are expected to fail to compile, since most tests are testing compiler
errors. errors.