Skip to content

Commit 0298ced

Browse files
authored
Merge pull request #179 from tromey/compiler-test-docs
Update compiler test documentation
2 parents 2a1387f + 37141c0 commit 0298ced

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/tests/adding.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ be compiled or run.
129129
* `ignore-test` always ignores the test
130130
* `ignore-lldb` and `ignore-gdb` will skip a debuginfo test on that
131131
debugger.
132+
* `ignore-gdb-version` can be used to ignore the test when certain gdb
133+
versions are used
132134

133135
Some examples of `X` in `ignore-X`:
134136

@@ -157,8 +159,16 @@ source.
157159
source is compiled, and this compilation is required to succeed.
158160
The `.fixed` file can also be generated automatically with the
159161
`--bless` option, discussed [below](#bless).
160-
* `min-{gdb,lldb}-version`
161-
* `min-llvm-version`
162+
* `min-gdb-version` specifies the minimum gdb version required for
163+
this test; see also `ignore-gdb-version`
164+
* `min-lldb-version` specifies the minimum lldb version required for
165+
this test
166+
* `min-llvm-version` specifies the minimum llvm version required for
167+
this test
168+
* `min-system-llvm-version` specifies the minimum system llvm version
169+
required for this test; the test is ignored if the system llvm is in
170+
use and it doesn't meet the minimum version. This is useful when an
171+
llvm feature has been backported to rust-llvm
162172
* `compile-pass` for UI tests, indicates that the test is
163173
supposed to compile, as opposed to the default where the test is
164174
supposed to error out.

0 commit comments

Comments
 (0)