bors
a071c7c0c8
Auto merge of #135336 - tshepang:patch-5, r=jieyouxu
...
clarify and document needs-dynamic-linking
try-job: test-various
2025-02-12 15:39:48 +00:00
Tshepang Mbambo
5cb9ff172f
document the directive
2025-02-11 22:05:40 +02:00
MarcoIeni
8a6fd47a85
improve CI cache docs
2025-02-06 14:59:43 +01:00
Jakub Beránek
c1b96f0f88
Reword submodule handling
2025-02-01 16:42:28 +01:00
Jakub Beránek
a0505b3e7d
Rewrite section on executing Docker tests
2025-01-30 18:33:34 +01:00
Matthias Krüger
eda1e03c12
Rollup merge of #135829 - Kobzol:rustc-push, r=jieyouxu
...
Rustc dev guide subtree update
r? ``@ghost``
2025-01-24 23:25:44 +01:00
许杰友 Jieyou Xu (Joe)
0f175948cd
rustc-dev-guide: document `needs-subprocess` directive
2025-01-23 20:51:28 +08:00
Jakub Beránek
3543f80951
Add test for checking used glibc symbols
2025-01-21 10:20:24 +01:00
Jakub Beránek
1e32114309
Merge from rustc
2025-01-20 14:12:41 +01:00
Noratrieb
166fa3b79e
Fix dev guide docs for error-pattern
...
I know it would have made more sense to make this PR to the dev guide
repo but I had already made the fix before I realized that.
2025-01-19 11:36:41 +01:00
许杰友 Jieyou Xu (Joe)
e9d9b29d06
compiletest: fix outdated `rustdoc-js` test suite name
2025-01-17 08:40:04 +08:00
许杰友 Jieyou Xu (Joe)
aca4d07e08
Merge pull request #2205 from ehuss/ci-config
2025-01-11 00:34:43 +08:00
Eric Huss
cd9705f029
Fix calculate-job-matrix.py link
2025-01-10 08:26:52 -08:00
Eric Huss
42768820fe
Document how to find the configuration used in CI
...
This documents how to determine which settings are used in CI, since I
see this question come up regularly. We currently don't have a great way
to answer the question, but at least there is something.
2025-01-10 08:16:37 -08:00
Jakub Beránek
280d73878a
Update rustc-dev-guide
2025-01-07 19:10:03 +01:00
Stuart Cook
bb71c99918
Describe how to use rust-analyzer with `rmake.rs` ( #2191 )
2025-01-05 17:51:45 +01:00
Onur Özkan
63548be44e
comment out FIXMEs to not display them on UI ( #2186 )
2025-01-05 17:51:45 +01:00
Max Heller
08b4cd8efc
Use `id` attribute for `<a>` tags instead of deprecated `name` attribute ( #2184 )
2024-12-31 22:02:50 +08:00
clubby789
5f32a38a3d
Document `x test --no-capture` ( #2174 )
2024-12-28 19:55:20 +08:00
Stuart Cook
9b22375c78
Remove the `-test` suffix from normalize directives ( #2172 )
2024-12-28 17:32:43 +08:00
clubby789
4e746875ed
Document `forbid-output` for UI tests ( #2171 )
2024-12-27 12:21:52 +00:00
clubby789
a49028cf1e
Document the `--debugger` flag ( #2170 )
2024-12-23 08:43:28 +00:00
Marco Ieni
b5529ca9ba
document the public ci dashboard ( #2167 )
2024-12-18 19:53:17 +08:00
Ryan Mehri
421c7282e1
Fix some typos
2024-12-18 07:56:30 +02:00
许杰友 Jieyou Xu (Joe)
740947ed6d
Remove `//@ compare-output-lines-by-subset` directive ( #2151 )
2024-12-05 13:02:11 +08:00
许杰友 Jieyou Xu (Joe)
df234c0f0e
Document `needs-target-has-atomic` directive ( #2154 )
2024-12-05 13:01:46 +08:00
许杰友 Jieyou Xu (Joe)
67054cce92
Update `//@ proc-macro` aux build directive docs ( #2149 )
...
Co-authored-by: Eric Huss <eric@huss.org>
2024-11-29 13:01:15 +08:00
许杰友 Jieyou Xu (Joe)
65a59a3398
Remove `pretty-expanded` as it no longer exists ( #2147 )
2024-11-28 09:27:28 +08:00
许杰友 Jieyou Xu (Joe)
65e7344ebb
Mention `RUSTC_BOOTSTRAP` for misc testing ( #2136 )
2024-11-18 16:18:15 +08:00
许杰友 Jieyou Xu (Joe)
1f42c533c9
Document how to acquire `cdb.exe` ( #2137 )
2024-11-16 16:53:42 +00:00
许杰友 Jieyou Xu (Joe)
7ed13a5faf
Document `max-llvm-major-version` directive ( #2129 )
2024-11-14 22:16:16 +08:00
许杰友 Jieyou Xu (Joe)
530b2eb228
Document `exact-llvm-major-version` directive ( #2135 )
2024-11-14 17:38:14 +08:00
许杰友 Jieyou Xu (Joe)
5d7107b836
Rename `{ignore,only}-debug` -> `{ignore,needs}-{rustc,std}-debug-assertions` ( #2101 )
2024-11-08 15:06:55 +08:00
Eric Huss
a927b95352
Add a link for the `reference` compiletest header ( #2096 )
2024-11-04 22:40:57 +08:00
Martin Liška
b289220795
Fix minicore.rs link ( #2122 )
2024-11-04 16:17:28 +08:00
许杰友 Jieyou Xu (Joe)
a54fe7590c
Describe `minicore` test auxiliary and directive ( #2097 )
2024-11-04 14:26:20 +08:00
许杰友 Jieyou Xu (Joe)
b088cb6d97
Fix and update docs for `needs-force-clang-based-tests` ( #2085 )
2024-11-04 14:17:37 +08:00
David Wood
9e83adad73
update rfl ci job policy ( #2108 )
2024-11-01 01:46:24 +08:00
Thomas Nyman
1170f0de32
Fix internal and incomplete links ( #2107 )
...
* Fix broken link in syntax-intro.md
* Fix broken link in tests/compiletest.md
* Fix incorrectly formatted reference-style link in compiler-src.md
* Fix broken links to rustc-driver.md to point to rustc-driver/intro.md
* Define URLs for incomplete links to rustc sources in stabilization_guide.md
* Define link to coherence.md for incomplete link in solve/invariants.md
2024-10-31 11:13:57 +08:00
Stuart Cook
0e2bebfe2d
Rename `needs-profiler-support` to `needs-profiler-runtime` ( #2095 )
2024-10-10 09:27:13 +11:00
Stuart Cook
f2eb9245ca
Document compiletest directives `ignore-coverage-map` and `ignore-coverage-run` ( #2094 )
2024-10-09 10:21:58 +08:00
许杰友 Jieyou Xu (Joe)
6f4b909f69
Purge `run-pass-valgrind` mentions
2024-10-07 23:12:09 +02:00
许杰友 Jieyou Xu (Joe)
58aeefcf0c
Revise test naming advice to discourage using issue numbers alone
...
But accept test names that include non-prefix issue number.
2024-10-07 11:17:02 +02:00
Jakub Beránek
e4eded33df
Document `bootstrap` integration with `rustc-perf` ( #2005 )
2024-10-07 16:28:06 +08:00
许杰友 Jieyou Xu (Joe)
9bb0da343a
[Testing 2/2] Revise revisions docs ( #2089 )
...
Co-authored-by: nora <48135649+Noratrieb@users.noreply.github.com>
2024-10-07 14:33:52 +08:00
许杰友 Jieyou Xu (Joe)
2b9274252f
[Testing 1/2] Revise testing chapters excluding the directives chapter ( #2088 )
2024-10-07 10:39:22 +08:00
León Orell Valerian Liehr
53514829de
fixups ( #2082 )
2024-10-03 10:54:50 +08:00
Urgau
3022bf007e
Add documentation for `{{rust-src-base}}` ( #2079 )
2024-09-29 14:21:45 +02:00
许杰友 Jieyou Xu (Joe)
f56b9b0a44
Revise wording to not imply *only* Python 3.10 can be installed
2024-09-24 19:55:07 +02:00
nora
15da3b9246
Update src/tests/compiletest.md
2024-09-24 19:54:06 +02:00
许杰友 Jieyou Xu (Joe)
d871e70475
Document `crashes` test suite
...
Describe procedure for adding new crashes tests and removing crashes
tests when the crash is intentionally fixed.
Also mention setting `COMPILETEST_VERBOSE_CRASHES=1` env var for verbose
crashes test output.
2024-09-24 19:54:06 +02:00
许杰友 Jieyou Xu (Joe)
6e8fc18158
Note lldb debuginfo requires `python310.dll` to be present in `PATH`
2024-09-24 19:49:14 +02: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
cui fliter
e012229e1e
fix some comments ( #2059 )
...
Signed-off-by: cuishuang <imcusg@gmail.com>
2024-09-09 12:58:45 +02:00
Marc Poulhiès
45e3b9d6b2
Fix x.py reference
...
Trivial fix to change `x.py` into `x`
2024-08-26 16:46:50 +02:00
León Orell Valerian Liehr
27bca443ca
Explain the internal `#[rustc_*]` TEST attributes used for debugging and inside tests ( #2046 )
2024-08-24 01:58:50 +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
Martin Liška
9a13c75f11
linkcheck: fix reported broken links (part 2) ( #2024 )
...
* linkcheck: fix reported broken links (part 2)
* Apply suggestions from code review
Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
* Fix mir::Constant link target
* Fix borked links
* Fix one more link name
* Exclude 2 links from checking
* Fix exclude patterns in book.toml
* Fix comment
* Fix rmake-tests URL
* Apply suggestions from code review
Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
---------
Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
2024-07-27 14:45:57 +02:00
Jakub Beránek
04317739eb
Fix invalid link to toolstate documentation ( #2021 )
2024-07-24 20:02:10 +08:00
Martin Liška
fb1d8b872c
linkcheck: fix reported broken links (part 1) ( #2022 )
2024-07-24 20:01:25 +08:00
10takla
2006cc8a83
Update adding.md ( #2016 )
...
Add `@' to the test header edition:2018
2024-07-19 15:15:12 +08:00
Tyler Mandry
625c6a9cc9
Update name of Fuchsia builder ( #2008 )
2024-07-01 21:05:14 +02:00
Jakub Beránek
8d3431a961
Add link to integration tests list
2024-07-01 00:31:56 +02:00
Jakub Beránek
304f99d079
Add Rust for Linux integration tests documentation
2024-07-01 00:31:56 +02:00
Tyler Mandry
a8837a54bd
Add docs for building Fuchsia locally and in CI ( #1989 )
2024-06-28 23:12:08 +02:00
许杰友 Jieyou Xu (Joe)
b97fd6c266
tests: document how to run `run-make` on Windows ( #2002 )
2024-06-24 05:21:15 +00:00
许杰友 Jieyou Xu (Joe)
46dc1c7033
tests/headers: document `needs-symlink` ( #2001 )
...
Added in <https://github.com/rust-lang/rust/pull/126862 >.
2024-06-24 04:31:35 +00:00
León Orell Valerian Liehr
de583d2b44
Fix note about compiletest header `rustfix-only-machine-applicable` ( #1998 )
2024-06-18 23:50:10 +01:00
Jakub Beránek
265c59a42c
Rewrite CI documentation
2024-06-13 15:14:55 +02:00
Stuart Cook
c2eb5560d2
Compiletest docs for recently-added features ( #1994 )
...
* Docs for `needs-forced-clang-based-tests` (was `needs-matching-clang`)
* Docs for `aux-codegen-backend`
* Docs for `{{sysroot-base}}` and `{{target-linker}}`
2024-06-12 15:58:02 +01:00
Lukas Wirth
93acb2dd7f
Add {{target}} to header substitutions
2024-06-12 15:59:20 +02:00
许杰友 Jieyou Xu (Joe)
cf49c91585
run-make: add tip about quick-compile with stage0 rustc
2024-06-10 13:49:19 +02:00
erikdesjardins
8e290bc634
Mention `COMPILETEST_REQUIRE_ALL_LLVM_COMPONENTS` in `needs-llvm-components` documentation ( #1990 )
2024-06-10 12:41:47 +01:00
Stuart Cook
62990d0e5e
Document the `//@ unused-revision-names:` test header ( #1991 )
2024-06-08 13:13:44 +01:00
Urgau
d0cd4f5dbb
Improve FALSE sentence
...
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-05-06 08:48:21 +02:00
Urgau
f4c400cdf2
Add documentation for check-cfg by-default in UI tests
2024-05-06 08:48:21 +02:00
Jakub Beránek
4874368185
Add an example how to add a job to PR CI
2024-05-04 08:04:25 +02:00
Jakub Beránek
dff746fb9c
Update CI documentation to avoid mentioning `expand-yaml-anchors`
2024-05-04 08:04:25 +02:00
Yutaro Ohno
cbd09807b0
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
34aaf19626
Add a note about checks with multiple revisions ( #1963 )
2024-04-13 16:16:44 +01:00
许杰友 Jieyou Xu (Joe)
75c164f9c5
compiletest: clarify that headers must be one header per line
2024-04-11 05:14:52 +02:00
许杰友 Jieyou Xu (Joe)
43f390bed0
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)
1b1b3b4627
Explicitly mention compiletest directives are supported in rmake.rs ( #1949 )
2024-04-06 22:41:09 +02:00
Martin Nordholts
4f4e8ee67d
Add basic docs for the new `aux-bin` header ( #1942 )
2024-04-06 21:01:03 +01:00
Eric Huss
522ca9b495
Add needs-threads header command ( #1943 )
2024-04-06 20:57:34 +01:00
Tshepang Mbambo
9137b87dec
typo
2024-03-19 19:12:28 +01:00
许杰友 Jieyou Xu (Joe)
aa0d5c1307
Document that test names cannot contain dots ( #1927 )
2024-03-08 17:44:41 -03:00
Stuart Cook
4e8bd38dda
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)
6595d0e0f0
Update run-make test description ( #1920 )
2024-03-01 23:22:50 +01:00
许杰友 Jieyou Xu (Joe)
601180f306
Update compiletest directives to be in `ui_test` style `//@`
2024-02-22 20:15:52 +01:00
许杰友 Jieyou Xu (Joe)
7bd9e91ef2
Specify ui test suite directives and add note on ignore-tidy directives
2024-02-16 18:26:58 -05:00
Michael Goulet
0d76693d12
Update src/tests/ui.md
...
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-02-16 18:13:52 -05:00
Oli Scherer
a4c86d8802
Update docs about ui tests now using `//@` headers
2024-02-16 18:13:52 -05:00
Yuki Okushi
7ec01f19d1
Fix some links ( #1865 )
2024-01-28 19:44:41 -03:00
Jakub Beránek
66c56a44fd
Add a perf. bot command and a link to its help page
2024-01-20 18:20:04 +01:00
Zalathar
7650a97c11
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
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