diff options
| author | Edd Barrett <vext01@gmail.com> | 2018-12-03 17:27:14 +0000 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2018-12-03 12:07:30 -0600 |
| commit | f51e93a653a5db71d2bbd9260dd6f40bfc467a9d (patch) | |
| tree | 0fb0e7887c3ba273ffdbc9932c76d0e3ea32f1d7 /src/doc/rustc-dev-guide | |
| parent | c8aeda614656c0b8ee1132edf4f40d6c03599c29 (diff) | |
| download | rust-f51e93a653a5db71d2bbd9260dd6f40bfc467a9d.tar.gz rust-f51e93a653a5db71d2bbd9260dd6f40bfc467a9d.zip | |
Provide a Python example.
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/running.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/running.md b/src/doc/rustc-dev-guide/src/tests/running.md index 62f3ea4d7ea..1250fa77b7a 100644 --- a/src/doc/rustc-dev-guide/src/tests/running.md +++ b/src/doc/rustc-dev-guide/src/tests/running.md @@ -21,8 +21,9 @@ a change) you can simply remove the timestamp file. Note that some tests require a Python-enabled gdb. You can test if your gdb install supports Python by using the `python` command from -within gdb (type some Python code followed by `CTRL+D` to execute it). -If you are building gdb from source, you need to configure with +within gdb. Once invoked you can type some Python code (e.g. +`print("hi")`) followed by return and then `CTRL+D` to execute it. +If you are building gdb from source, you will need to configure with `--with-python=<path-to-python-binary>`. ## Running a subset of the test suites |
