diff options
| author | Tom Tromey <tom@tromey.com> | 2018-11-06 14:47:56 -0700 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2018-11-06 16:35:13 -0600 |
| commit | 08e19e8c441df33abb98374057a142b22d26198d (patch) | |
| tree | b2b443953d70b535d86ee4f3acd0efec4fa95c6c /src/doc/rustc-dev-guide | |
| parent | ad452cbc750548b3dfc2a84433d1b831d7f934b3 (diff) | |
| download | rust-08e19e8c441df33abb98374057a142b22d26198d.tar.gz rust-08e19e8c441df33abb98374057a142b22d26198d.zip | |
Document ignore-llvm-version
This documents the ignore-llvm-version directive.
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/adding.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/adding.md b/src/doc/rustc-dev-guide/src/tests/adding.md index 580741ccfe9..418287355fd 100644 --- a/src/doc/rustc-dev-guide/src/tests/adding.md +++ b/src/doc/rustc-dev-guide/src/tests/adding.md @@ -167,6 +167,11 @@ source. required for this test; the test is ignored if the system llvm is in use and it doesn't meet the minimum version. This is useful when an llvm feature has been backported to rust-llvm +* `ignore-llvm-version` can be used to skip the test when certain LLVM + versions are used. This takes one or two arguments; the first + argument is the first version to ignore. If no second argument is + given, all subsequent versions are ignored; otherwise, the second + argument is the last version to ignore. * `compile-pass` for UI tests, indicates that the test is supposed to compile, as opposed to the default where the test is supposed to error out. |
