Skip to content

Commit 75aad4b

Browse files
jieyouxucompiler-errors
authored andcommitted
Specify ui test suite directives and add note on ignore-tidy directives
1 parent 2c01b49 commit 75aad4b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Diff for: src/tests/ui.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ the source file.
2929
See [Error annotations](#error-annotations) for more.
3030

3131
[Headers](headers.md) in the form of comments at the top of the file control
32-
how the test is compiled and what the expected behavior is. Note that ui
33-
tests require the use of `//@ header-name` instead of `// header-name` like
34-
the other test suites do. The other test suites will be migrated to use the `//@`
35-
syntax too, but that is in progress.
32+
how the test is compiled and what the expected behavior is. Note that tests in
33+
the "ui" test suite require the use of `//@ header-name` instead of
34+
`// header-name` like the other test suites do. The other test suites will be
35+
migrated to use the `//@` syntax too, but that is in progress. Additionally,
36+
`// ignore-tidy` and `// ignore-tidy-*` are ignored by compiletest when
37+
handling "ui" test suite tests (note that they are not `//@` directives).
3638

3739
Tests are expected to fail to compile, since most tests are testing compiler
3840
errors.

0 commit comments

Comments
 (0)