Commit Graph

188 Commits

Author SHA1 Message Date
Jakub Beránek 1cf32e07fd Update CI documentation to avoid mentioning `expand-yaml-anchors` 2024-05-04 08:04:25 +02:00
Yutaro Ohno 4c97ad5479 Rename `-Z verbose` to `-Z verbose-internals`
The `-Z verbose` option has been renamed to `-Z verbose-internals` in
commit  b5d83619 [1] (PR #119129 [2]). This commit updates the remaining
`-Z verbose` to `-Z verbose-internals`.

[1]: b5d8361909
[2]: https://github.com/rust-lang/rust/pull/119129
2024-04-30 10:15:49 +02:00
Trevor Gross 07425fed36
Add a note about checks with multiple revisions (#1963) 2024-04-13 16:16:44 +01:00
许杰友 Jieyou Xu (Joe) f70352388d compiletest: clarify that headers must be one header per line 2024-04-11 05:14:52 +02:00
许杰友 Jieyou Xu (Joe) 61c1e83484
compiletest: specify which special env var and which particular CI job (#1960)
* compiletest: specify which special env var and which particular CI job

* compiletest: fix grammar and add link to Dockerfile
2024-04-08 21:00:54 +02:00
许杰友 Jieyou Xu (Joe) b77a34bd46
Explicitly mention compiletest directives are supported in rmake.rs (#1949) 2024-04-06 22:41:09 +02:00
Martin Nordholts b735c7e9b8
Add basic docs for the new `aux-bin` header (#1942) 2024-04-06 21:01:03 +01:00
Eric Huss 0b6f21054a
Add needs-threads header command (#1943) 2024-04-06 20:57:34 +01:00
Tshepang Mbambo d4c8701a07 typo 2024-03-19 19:12:28 +01:00
许杰友 Jieyou Xu (Joe) f8631011aa
Document that test names cannot contain dots (#1927) 2024-03-08 17:44:41 -03:00
Stuart Cook fbea746002
Add compiletest docs for FileCheck prefixes and `//@ filecheck-flags:` (#1914)
This patch also adds docs for `//@ llvm-cov-flags:`, and notes that coverage
tests support revisions (though none of the current tests actually do so).
2024-03-01 23:30:17 +01:00
许杰友 Jieyou Xu (Joe) a9ab50ba68
Update run-make test description (#1920) 2024-03-01 23:22:50 +01:00
许杰友 Jieyou Xu (Joe) 7b0ef5b0be Update compiletest directives to be in `ui_test` style `//@` 2024-02-22 20:15:52 +01:00
许杰友 Jieyou Xu (Joe) 75aad4b9d9 Specify ui test suite directives and add note on ignore-tidy directives 2024-02-16 18:26:58 -05:00
Michael Goulet 2c01b499aa Update src/tests/ui.md
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-02-16 18:13:52 -05:00
Oli Scherer 2c6117b5ad Update docs about ui tests now using `//@` headers 2024-02-16 18:13:52 -05:00
Yuki Okushi 3329715501
Fix some links (#1865) 2024-01-28 19:44:41 -03:00
Jakub Beránek 4b5116a5cf Add a perf. bot command and a link to its help page 2024-01-20 18:20:04 +01:00
Zalathar 1dc1152ccc Remove outdated references to `-Z dump-mir-spanview`
This flag was removed by <https://github.com/rust-lang/rust/pull/119566>.
2024-01-16 10:28:45 +02:00
onur-ozkan f3f15a9c04 update old bootstrap docs
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-01-15 19:44:49 +02:00
Guillaume Gomez 7620355f54
Add explanations on how to run rustc_codegen_gcc tests (#1821) 2023-11-27 19:05:08 -03:00
Zalathar 2712dfed5c Update documentation for coverage tests 2023-11-08 16:43:50 +02:00
Ethan Brierley 3735857dc5 test headers: fix `compile-flags` example
This is more consistent with the other examples in this file such as a13b7c28ed/src/tests/headers.md?plain=1#L196 and
2023-09-28 00:57:27 +02:00
Zalathar ed55e7d6c9 Clarify that `run-coverage` only runs in some of the CI jobs 2023-09-12 13:27:25 +02:00
Zalathar 2eb01f948f Document the `coverage-map` and `run-coverage` test suites 2023-09-11 23:29:18 +02:00
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