Update compiler test documentation

Update the compiler test documentation to document ignore-gdb-version
and min-system-llvm-version; and expand the min-gdb-version,
min-lldb-version, and min-llvm-version documentation a little.
This commit is contained in:
Tom Tromey 2018-08-09 09:05:36 -06:00
parent d89965857f
commit a2d8adadb1
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.