Merge pull request #179 from tromey/compiler-test-docs

Update compiler test documentation
This commit is contained in:
Niko Matsakis 2018-08-09 16:32:14 -04:00 committed by GitHub
commit 0298cedcfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -129,6 +129,8 @@ be compiled or run.
* `ignore-test` always ignores the test * `ignore-test` always ignores the test
* `ignore-lldb` and `ignore-gdb` will skip a debuginfo test on that * `ignore-lldb` and `ignore-gdb` will skip a debuginfo test on that
debugger. debugger.
* `ignore-gdb-version` can be used to ignore the test when certain gdb
versions are used
Some examples of `X` in `ignore-X`: Some examples of `X` in `ignore-X`:
@ -157,8 +159,16 @@ source.
source is compiled, and this compilation is required to succeed. source is compiled, and this compilation is required to succeed.
The `.fixed` file can also be generated automatically with the The `.fixed` file can also be generated automatically with the
`--bless` option, discussed [below](#bless). `--bless` option, discussed [below](#bless).
* `min-{gdb,lldb}-version` * `min-gdb-version` specifies the minimum gdb version required for
* `min-llvm-version` this test; see also `ignore-gdb-version`
* `min-lldb-version` specifies the minimum lldb version required for
this test
* `min-llvm-version` specifies the minimum llvm version required for
this test
* `min-system-llvm-version` specifies the minimum system llvm version
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
* `compile-pass` for UI tests, indicates that the test is * `compile-pass` for UI tests, indicates that the test is
supposed to compile, as opposed to the default where the test is supposed to compile, as opposed to the default where the test is
supposed to error out. supposed to error out.