about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-08-09 09:05:36 -0600
committerTom Tromey <tom@tromey.com>2018-08-09 09:15:01 -0600
commitd53aaa35672c5e9438aa527844be0ca892844af3 (patch)
tree4cdbab1cf9837f9e73bbbb80aa1b77d2bd5daee9 /src/doc/rustc-dev-guide
parent74ffa29ef3b861dcb22b583df3535f8eba24a6b0 (diff)
downloadrust-d53aaa35672c5e9438aa527844be0ca892844af3.tar.gz
rust-d53aaa35672c5e9438aa527844be0ca892844af3.zip
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.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/adding.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/adding.md b/src/doc/rustc-dev-guide/src/tests/adding.md
index a9400c59129..7469755f71c 100644
--- a/src/doc/rustc-dev-guide/src/tests/adding.md
+++ b/src/doc/rustc-dev-guide/src/tests/adding.md
@@ -129,6 +129,8 @@ be compiled or run.
 * `ignore-test` always ignores the test
 * `ignore-lldb` and `ignore-gdb` will skip a debuginfo test on that
   debugger.
+* `ignore-gdb-version` can be used to ignore the test when certain gdb
+  versions are used
 
 Some examples of `X` in `ignore-X`:
 
@@ -157,8 +159,16 @@ source.
   source is compiled, and this compilation is required to succeed.
   The `.fixed` file can also be generated automatically with the
   `--bless` option, discussed [below](#bless).
-* `min-{gdb,lldb}-version`
-* `min-llvm-version`
+* `min-gdb-version` specifies the minimum gdb version required for
+  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
   supposed to compile, as opposed to the default where the test is
   supposed to error out.