about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/rustc-dev-guide/src/tests/compiletest.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md
index ee56b34553a..815509a8213 100644
--- a/src/doc/rustc-dev-guide/src/tests/compiletest.md
+++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md
@@ -244,6 +244,9 @@ the debugger currently being used:
   The "Rust" version of LLDB doesn't exist anymore, so this will always be
   ignored. This should probably be removed.
 
+By passing the `--debugger` option to compiletest, you can specify a single debugger to run tests with.
+For example, `./x test tests/debuginfo -- --debugger gdb` will only test GDB commands.
+
 > **Note on running lldb debuginfo tests locally**
 >
 > If you want to run lldb debuginfo tests locally, then currently on Windows it