Jieyou Xu
af667b8696
Merge from rustc
2025-03-18 12:08:38 +08:00
bit-aloo
e4ddc21c8a
replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide
2025-03-17 12:56:44 +05:30
Tshepang Mbambo
b04865b8d2
add some copy-paste goodness
2025-03-15 11:35:41 +02:00
Tshepang Mbambo
7d157cb36e
make 'mdbook test --chapter "Running tests"' pass
2025-03-15 11:35:15 +02:00
Tshepang Mbambo
e068c546a3
those should not get shell highlighting
2025-03-15 11:32:16 +02:00
许杰友 Jieyou Xu (Joe)
3ca2a42b52
Merge from rustc
2025-03-13 15:20:11 +08:00
许杰友 Jieyou Xu (Joe)
6ae1d4d997
Merge pull request #2273 from rust-lang/tshepang-patch-1
...
use new terminology
2025-03-10 17:59:15 +08:00
Tshepang Mbambo
53f8a2f1d6
add missing punctuation
2025-03-10 11:15:32 +02:00
Tshepang Mbambo
12b836b37c
clean --bless text
2025-03-10 11:12:44 +02:00
Tshepang Mbambo
916cd09d33
add a pause, for readability
2025-03-10 10:38:30 +02:00
Tshepang Mbambo
20b3dc1ee0
already mentioned before showing code snippet
2025-03-10 10:35:40 +02:00
Tshepang Mbambo
1d3b59fa4a
use new terminology
2025-03-10 10:29:30 +02:00
许杰友 Jieyou Xu (Joe)
6a61f6f721
rustc-dev-guide: remove mentions of legacy `Makefile` run-make infra
...
And remove outdated requirements to run `run-make` tests on Windows.
2025-03-02 05:56:56 +08:00
Ryan Mehri
421c7282e1
Fix some typos
2024-12-18 07:56:30 +02:00
许杰友 Jieyou Xu (Joe)
2b9274252f
[Testing 1/2] Revise testing chapters excluding the directives chapter ( #2088 )
2024-10-07 10:39:22 +08:00
adwin
db6f8ad56d
Emphasize how to run a single tool test ( #2070 )
2024-09-20 15:10:29 +08:00
dianne
c83a18cc76
Reflect `x.py test`'s `--rustc-args` option being renamed to `--compiletest-rustc-args` ( #2062 )
2024-09-12 09:58:27 +08:00
Tshepang Mbambo
3525f6f1aa
we standardized on this more reliable command ( #2061 )
2024-09-11 02:58:06 +08:00
GabrieleC07
c156104dbe
Added 'the' in chapter "Running test" subtitle "Run unit tests on the compiler/library" ( #2040 )
2024-08-09 01:54:27 +08:00
许杰友 Jieyou Xu (Joe)
b97fd6c266
tests: document how to run `run-make` on Windows ( #2002 )
2024-06-24 05:21:15 +00:00
Yuki Okushi
7ec01f19d1
Fix some links ( #1865 )
2024-01-28 19:44:41 -03:00
onur-ozkan
ca6139dd0d
update old bootstrap docs
...
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-01-15 19:44:49 +02:00
Guillaume Gomez
68d24f1546
Add explanations on how to run rustc_codegen_gcc tests ( #1821 )
2023-11-27 19:05:08 -03:00
Rémy Rakic
5a7307db86
document `.x test --rustc-args` option
2023-07-05 02:14:36 +02:00
sslime336
e2487ebdc4
Change `x.py` into `x`, add explanation for `x`
2023-06-30 23:11:14 +02:00
sslime336
a04ad82e3c
Change `./x.py` into `./x`
2023-06-30 23:11:14 +02:00
ozkanonur
375adf22dc
extend bootstrap related documentations
...
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-01-31 12:42:30 -06:00
Albert Larsan
d4ec98736e
Change `src/test` to `tests` ( #1547 )
2023-01-13 07:31:47 +09:00
Joshua Nelson
bd26e3aae5
Replace `$TARGET` with `host`
...
This avoids having to manually modify the configuration in the docs.
2022-12-31 18:23:52 -06:00
Pietro Albini
397a8f2cf7
Update running tests with the new flags ( #1476 )
2022-10-05 17:04:49 +09:00
Joshua Nelson
d7ead280b4
Update the build instructions for the standard library
...
Since https://github.com/rust-lang/rust/pull/95503 , `library/std` means
"build just std and its dependencies"; to get the old behavior that built
`proc_macro` and `test`, you need `x build library`.
- Update `library/std` to `library`
- Remove the `-i` suggestions; `incremental = true` is already the default for most profiles, in
which case `-i` does nothing. If you don't have incremental enabled, I still think suggesting `-i`
is bad idea, because it's easy to forget once, at which point you'll end up rebuilding the whole
compiler / standard library.
- Remove a few repetitive sections and don't discuss incremental in such detail
Incremental works well enough that it should "just work" for most people;
I don't think it needs multiple paragraphs of explanation so early in the guide.
- Clarify that `test library/std` *only* tests libstd in a few places
2022-07-11 07:22:24 +02:00
Eric Huss
95d5ac8462
Remove nll compare mode. ( #1366 )
2022-06-08 14:21:15 -03:00
Yuki Okushi
6ec2a84d4d
Update some links and docs ( #1340 )
2022-05-17 07:54:45 +09:00
Eric Huss
121b57d498
Reorganize and expand the testing chapters. ( #1281 )
...
* Reorganize and expand the testing chapters.
* Update tests chapters for review comments.
* Fix typo.
2022-01-18 14:44:26 -03:00
Georgiy Komarov
e3da6331dd
Spelling: Rename `rust` to `Rust` ( #1288 )
2022-01-18 11:09:37 -03:00
Nicholas Nethercote
940fbb5f7a
Address review comments in #1286 .
2022-01-05 23:26:43 -06:00
Nicholas Nethercote
e3512c8cd8
Streamline "Getting Started" some more.
...
This is a follow-up to #1279 .
The "Getting Started" chapter is, TBH, pretty bad when it comes to the
stuff about building and testing. It has far too much detail and lots of
repetition, which would be overwhelming to a newcomer.
This commit removes most of it, leaving behind just quick mentions of
the most common `x.py` commands: `check`, `build`, `test`, `fmt`, with
links to the appropriate chapters for details. There were a few
interesting details that weren't covered elsewhere, so I moved those
into other chapters.
2022-01-05 23:26:43 -06:00
Lucas Kent
9074afb8da
Improve 'Running tests manually' section
2021-11-27 03:45:39 -05:00
Ken Matsui
e1babf580d
Unify `x.py` usage ( #1258 )
2021-11-16 07:44:50 +09:00
Lucas Kent
363f6ce09c
Spelling fixes
2021-11-15 08:23:01 -06:00
Lucas Kent
7b93c858f0
Fix compare-mode documentation
2021-11-14 17:01:35 -06:00
Yuki Okushi
1373d5beed
Document how to run unit tests ( #1141 )
2021-06-17 17:25:28 -03:00
bstrie
87b317f966
Update running.md
2021-02-17 17:13:07 -05:00
Iñaki Garay
7a80b01e01
Add mdbook-toc, markers, and documentation ( #1028 )
...
* Add mdbook-toc to travis, book.toml and documentation
* Add toc markers
* Whitespace cleanup and some punctuation
* Addressed comments
2021-01-20 14:33:11 -03:00
Ben Striegel
5661848ab9
Address feedback
2020-11-30 18:06:43 -05:00
Ben Striegel
680e35a172
Add notes about running the UI test suite
2020-11-30 18:06:43 -05:00
Joshua Nelson
7609eb11ee
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/ .
2020-09-23 15:46:43 +00:00
Yuki Okushi
9c351189e9
Adjust mentions about CI to GitHub Actions
2020-08-02 08:38:26 -05:00
Yuki Okushi
68a2b034c5
Rename `src/libstd` to `library/std` etc. ( #815 )
2020-07-30 22:47:22 +09:00
Joshua Nelson
879ca582de
Update docs to match the new x.py defaults ( #813 )
2020-07-29 04:20:00 +09:00