Commit Graph

216 Commits

Author SHA1 Message Date
许杰友 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
Zalathar a19ce0794b Update documentation for coverage tests 2023-11-08 16:43:50 +02:00