diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-09-23 11:46:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-23 15:46:43 +0000 |
| commit | 30ca044a7199d13a357a89ddf45c3f23729d5e4c (patch) | |
| tree | 9f4b9316cfbe6932cfa87ddcd7b641e2326d949a /src/doc/rustc-dev-guide | |
| parent | 08162cbd1e4c72869a23141827e953055f8a1475 (diff) | |
| download | rust-30ca044a7199d13a357a89ddf45c3f23729d5e4c.tar.gz rust-30ca044a7199d13a357a89ddf45c3f23729d5e4c.zip | |
Don't recommend building the compiler for running tests on the standard library (#887)
Thought of this while reading https://internals.rust-lang.org/t/contributing-changes-to-std/12829/.
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/running.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/running.md b/src/doc/rustc-dev-guide/src/tests/running.md index 1043f87a19c..5e18b8a9599 100644 --- a/src/doc/rustc-dev-guide/src/tests/running.md +++ b/src/doc/rustc-dev-guide/src/tests/running.md @@ -68,19 +68,19 @@ Likewise, you can test a single file by passing its path: ### Run tests on the standard library ```bash -./x.py test library/std +./x.py test --stage 0 library/std ``` ### Run the tidy script and tests on the standard library ```bash -./x.py test tidy library/std +./x.py test --stage 0 tidy library/std ``` ### Run tests on the standard library using a stage 1 compiler ```bash -> ./x.py test library/std +./x.py test library/std ``` By listing which test suites you want to run you avoid having to run |
