Skip to content

Commit

Permalink
Specify ui test suite directives and add note on ignore-tidy directives
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu authored and compiler-errors committed Feb 16, 2024
1 parent 2c01b49 commit 75aad4b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/tests/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 75aad4b

Please sign in to comment.