Stuart Cook
da0939e4e9
Describe how to use rust-analyzer with `rmake.rs` ( #2191 )
2025-01-03 12:36:09 +08:00
clubby789
a749d66e1e
Document `x test --no-capture` ( #2174 )
2024-12-28 19:55:20 +08:00
clubby789
5f164d8ada
Document the `--debugger` flag ( #2170 )
2024-12-23 08:43:28 +00:00
许杰友 Jieyou Xu (Joe)
3d042d4739
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)
220aaee4f3
Remove `pretty-expanded` as it no longer exists ( #2147 )
2024-11-28 09:27:28 +08:00
许杰友 Jieyou Xu (Joe)
da53251938
Document how to acquire `cdb.exe` ( #2137 )
2024-11-16 16:53:42 +00:00
许杰友 Jieyou Xu (Joe)
6ff146c9d4
Describe `minicore` test auxiliary and directive ( #2097 )
2024-11-04 14:26:20 +08:00
Thomas Nyman
fd1ce7455f
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
2f06bb1a14
Rename `needs-profiler-support` to `needs-profiler-runtime` ( #2095 )
2024-10-10 09:27:13 +11:00
Stuart Cook
971f80916d
Document compiletest directives `ignore-coverage-map` and `ignore-coverage-run` ( #2094 )
2024-10-09 10:21:58 +08:00
许杰友 Jieyou Xu (Joe)
2150561cf3
Purge `run-pass-valgrind` mentions
2024-10-07 23:12:09 +02:00
许杰友 Jieyou Xu (Joe)
e17bfa54e7
[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)
1be6249d67
[Testing 1/2] Revise testing chapters excluding the directives chapter ( #2088 )
2024-10-07 10:39:22 +08:00
许杰友 Jieyou Xu (Joe)
957ea06e2e
Revise wording to not imply *only* Python 3.10 can be installed
2024-09-24 19:55:07 +02:00
nora
206f42b6f3
Update src/tests/compiletest.md
2024-09-24 19:54:06 +02:00
许杰友 Jieyou Xu (Joe)
6aa536dc97
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)
fc02fead52
Note lldb debuginfo requires `python310.dll` to be present in `PATH`
2024-09-24 19:49:14 +02:00
Martin Liška
4765bd775d
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
Stuart Cook
3f0b69b8ee
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
许杰友 Jieyou Xu (Joe)
cb69788d4d
run-make: add tip about quick-compile with stage0 rustc
2024-06-10 13:49:19 +02:00
Stuart Cook
544d2624de
Document the `//@ unused-revision-names:` test header ( #1991 )
2024-06-08 13:13:44 +01: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)
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
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
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
Zalathar
2712dfed5c
Update documentation for coverage tests
2023-11-08 16:43:50 +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
f15fd8ba86
fix(duplicate): remove unnecessary duplicate word
2023-07-18 12:17:31 +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
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
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
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
Guillaume Gomez
4b8d939889
Add missing rustdoc tests explanations
2022-03-09 12:45:59 -08: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