Tshepang Mbambo
8082f48d43
date-check: test suites/classes using "revisions" ( #1738 )
2023-08-27 09:59:53 +09:00
İsmail Arılık
151dcc1e81
refactor(tests/headers): remove duplicate list item
2023-07-18 16:02:36 +02:00
İsmail Arılık
d5d39323bb
refactor(test/headers.md): make the meaning more obvious
2023-07-18 16:01:21 +02:00
İsmail Arılık
ec0a5f1d3e
refactor(tests/ui): remove unnecessary duplicate word
2023-07-18 14:04:05 +02:00
İsmail Arılık
f15fd8ba86
fix(duplicate): remove unnecessary duplicate word
2023-07-18 12:17:31 +02:00
Tshepang Mbambo
b10654acbf
improve explanation of placing tests in separate file ( #1721 )
...
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2023-07-08 11:54:25 +09:00
Rémy Rakic
95ce2372ba
document `.x test --rustc-args` option
2023-07-05 02:14:36 +02:00
sslime336
50dbcba002
Change `x.py` into `x`, add explanation for `x`
2023-06-30 23:11:14 +02:00
sslime336
d3034ae828
Change `./x.py` into `./x`
2023-06-30 23:11:14 +02:00
Eric Huss
dda77e082f
Fix some links
2023-06-29 06:43:19 +02:00
Tshepang Mbambo
54e91b0d59
run-make tests: fix and improve ( #1702 )
2023-06-26 23:03:03 +09:00
Eric Huss
28dbeaf5c4
Add unset-exec-env compiletest header.
...
This header was added in https://github.com/rust-lang/rust/pull/110644/ .
2023-05-02 04:20:21 +02:00
Lukas Wirth
2a5eb92197
Add docs for compare-output-lines-by-subset flag ( #1677 )
2023-04-22 20:50:11 +09:00
Tshepang Mbambo
d0d581b140
fix typo ( #1674 )
2023-04-22 20:49:13 +09:00
Ezra Shaw
a4a1a7cf12
docs: document new `suggest-tests` tool
2023-04-16 13:56:19 +02:00
Yukang
9bdc3996c3
Add SIP solution for macOS users ( #1636 )
2023-03-21 17:50:39 +09:00
ozkanonur
472188e1b9
extend bootstrap related documentations
...
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-01-31 12:42:30 -06:00
Albert Larsan
ec0d134e3b
Change `src/test` to `tests` ( #1547 )
2023-01-13 07:31:47 +09:00
Joshua Nelson
e6fd600417
Replace `$TARGET` with `host`
...
This avoids having to manually modify the configuration in the docs.
2022-12-31 18:23:52 -06:00
Yuki Okushi
b145e1e1fa
fix: Fix broken links
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-12-09 03:13:38 +02:00
Rageking8
88bd6ca6ab
add note for err annotation formatting
2022-10-27 20:45:40 +02:00
Tshepang Mbambo
a8ccc266a0
typo and grammar ( #1484 )
2022-10-19 07:45:49 +09:00
Pietro Albini
d3ce60f3d6
Update running tests with the new flags ( #1476 )
2022-10-05 17:04:49 +09:00
Eric Huss
6b0a155162
Update for removal of RLS ( #1450 )
2022-09-02 23:03:15 +09:00
Tshepang Mbambo
2557089a44
make date-check more lightweight ( #1394 )
...
* make date-check lightweight
This avoids having to write the date twice when updating date-check.
Before "As of <-- 2022-07 --> July 2022"
After "As of July 2022"
* please clippy
* update date-check docs
* accept review suggestion
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042163557
* accept review suggestion
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#issuecomment-1189105017
* this breaks markdown
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018268
This led to a more robust regex, though making the tool more picky.
It also found a wrong date format that was missed.
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018419
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816
* accept review suggestion
This was reverted by mistake
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934019395
* use a more simple fn
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018981
Much more clean
* nit
* accept review suggestion
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* avoid a failed regex
Also, test new shape
* adjust to new regex (which uses named groups)
New regex was introduced by 456008cc35
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-08-02 13:50:32 -07:00
Luqman Aden
d5201cddac
Debuginfo tests now also support revisions.
2022-07-21 04:48:49 +02:00
Joshua Nelson
f92263e45b
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
Edwin Rybarczyk
ee64179f12
later -> latter
2022-06-13 00:17:41 +02:00
Eric Huss
375a9f06e3
Remove mention of -Zborrowck=mir with Polonius. ( #1367 )
2022-06-08 19:30:43 -03:00
Eric Huss
e83cd73692
Remove nll compare mode. ( #1366 )
2022-06-08 14:21:15 -03:00
Yuki Okushi
0b2c9db969
Update some links and docs ( #1340 )
2022-05-17 07:54:45 +09:00
Guillaume Gomez
4b8d939889
Add missing rustdoc tests explanations
2022-03-09 12:45:59 -08:00
Eric Huss
24e474c276
Add known-bug header. ( #1311 )
2022-02-24 22:40:58 -06:00
Yuki Okushi
d1822b9998
Triage some date references ( #1293 )
2022-02-10 17:34:23 -03:00
Eric Huss
78dd6a4684
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
60bc9abf72
Spelling: Rename `rust` to `Rust` ( #1288 )
2022-01-18 11:09:37 -03:00
Nicholas Nethercote
acc6718c51
Address review comments in #1286 .
2022-01-05 23:26:43 -06:00
Nicholas Nethercote
a992723654
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
Wang Qilin
9bf0028b55
remove rustfix item in test intro ( #1277 )
2021-12-20 21:53:57 +09:00
Lucas Kent
2cee5a9be8
Improve 'Running tests manually' section
2021-11-27 03:45:39 -05:00
Eric Huss
8a817bc6ca
Update for review comments.
2021-11-24 10:22:37 -05:00
Eric Huss
aaf6ccc951
Document rustfix-only-machine-applicable
2021-11-24 10:22:37 -05:00
Eric Huss
9660c153fe
Apply suggestions from pierwill
...
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
2021-11-24 10:22:37 -05:00
Eric Huss
285b3e4410
Document more compiletest headers.
2021-11-24 10:22:37 -05:00
Ken Matsui
24132faa13
Unify `x.py` usage ( #1258 )
2021-11-16 07:44:50 +09:00
Lucas Kent
0fc1fa9f1e
Spelling fixes
2021-11-15 08:23:01 -06:00
Lucas Kent
f1297f5560
Fix compare-mode documentation
2021-11-14 17:01:35 -06:00
Eric Huss
8a8452cfcc
Remove some legacy test suites.
2021-11-04 14:18:39 -05:00
Noah Lev
f146da3734
Update some date-check comments
...
I removed one of them because it doesn't seem necessary.
2021-11-04 09:33:03 -07:00
Tomasz Miąsko
cec5879a86
Mention needs-sanitizer-hwaddress directive
2021-10-08 15:49:53 -05:00