Merge pull request #2299 from jieyouxu/test-jobs-reorg
Slightly reorganize ecosystem tests, stub out codegen backend test pages
This commit is contained in:
commit
354463193d
|
|
@ -62,5 +62,7 @@ warning-policy = "error"
|
||||||
"/diagnostics/sessiondiagnostic.html" = "diagnostic-structs.html"
|
"/diagnostics/sessiondiagnostic.html" = "diagnostic-structs.html"
|
||||||
"/diagnostics/diagnostic-codes.html" = "error-codes.html"
|
"/diagnostics/diagnostic-codes.html" = "error-codes.html"
|
||||||
"/miri.html" = "const-eval/interpret.html"
|
"/miri.html" = "const-eval/interpret.html"
|
||||||
"/tests/integration.html" = "ecosystem.html"
|
"/tests/fuchsia.html" = "ecosystem-test-jobs/fuchsia.html"
|
||||||
"/tests/headers.html" = "directives.html"
|
"/tests/headers.html" = "directives.html"
|
||||||
|
"/tests/integration.html" = "ecosystem.html"
|
||||||
|
"/tests/rust-for-linux.html" = "ecosystem-test-jobs/rust-for-linux.html"
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,11 @@
|
||||||
- [Minicore](./tests/minicore.md)
|
- [Minicore](./tests/minicore.md)
|
||||||
- [Ecosystem testing](./tests/ecosystem.md)
|
- [Ecosystem testing](./tests/ecosystem.md)
|
||||||
- [Crater](./tests/crater.md)
|
- [Crater](./tests/crater.md)
|
||||||
- [Fuchsia](./tests/fuchsia.md)
|
- [Fuchsia](./tests/ecosystem-test-jobs/fuchsia.md)
|
||||||
- [Rust for Linux](./tests/rust-for-linux.md)
|
- [Rust for Linux](./tests/ecosystem-test-jobs/rust-for-linux.md)
|
||||||
|
- [Codegen backend testing](./tests/codegen-backend-tests/intro.md)
|
||||||
|
- [Cranelift codegen backend](./tests/codegen-backend-tests/cg_clif.md)
|
||||||
|
- [GCC codegen backend](./tests/codegen-backend-tests/cg_gcc.md)
|
||||||
- [Performance testing](./tests/perf.md)
|
- [Performance testing](./tests/perf.md)
|
||||||
- [Suggest tests tool](./tests/suggest-tests.md)
|
- [Suggest tests tool](./tests/suggest-tests.md)
|
||||||
- [Misc info](./tests/misc.md)
|
- [Misc info](./tests/misc.md)
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,4 @@ This list will be used to notify [Fuchsia][fuchsia] maintainers
|
||||||
when the compiler or the standard library changes in a way that would
|
when the compiler or the standard library changes in a way that would
|
||||||
break the Fuchsia integration.
|
break the Fuchsia integration.
|
||||||
|
|
||||||
[fuchsia]: ../tests/fuchsia.md
|
[fuchsia]: ../tests/ecosystem-test-jobs/fuchsia.md
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Cranelift codegen backend tests
|
||||||
|
|
||||||
|
TODO: please add some more information to this page.
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
# GCC codegen backend tests
|
||||||
|
|
||||||
|
TODO: please add some more information to this page.
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
# Codegen backend testing
|
||||||
|
|
||||||
|
See also the [Code generation](../../../src/backend/codegen.md) chapter.
|
||||||
|
|
||||||
|
In addition to the primary LLVM codegen backend, the rust-lang/rust CI also runs tests of the [cranelift][cg_clif] and [GCC][cg_gcc] codegen backends in certain test jobs.
|
||||||
|
|
||||||
|
For more details on the tests involved, see:
|
||||||
|
|
||||||
|
- [Cranelift codegen backend tests](./cg_clif.md)
|
||||||
|
- [GCC codegen backend tests](./cg_gcc.md)
|
||||||
|
|
||||||
|
[cg_clif]: https://github.com/rust-lang/rustc_codegen_cranelift
|
||||||
|
[cg_gcc]: https://github.com/rust-lang/rustc_codegen_gcc
|
||||||
|
|
@ -40,7 +40,7 @@ using your local Rust toolchain.
|
||||||
src/ci/docker/run.sh x86_64-fuchsia
|
src/ci/docker/run.sh x86_64-fuchsia
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [Testing with Docker](docker.md) chapter for more details on how to run
|
See the [Testing with Docker](../docker.md) chapter for more details on how to run
|
||||||
and debug jobs with Docker.
|
and debug jobs with Docker.
|
||||||
|
|
||||||
Note that a Fuchsia checkout is *large* – as of this writing, a checkout and
|
Note that a Fuchsia checkout is *large* – as of this writing, a checkout and
|
||||||
|
|
@ -170,7 +170,7 @@ rustc book][platform-support].
|
||||||
[`public_configs`]: https://gn.googlesource.com/gn/+/main/docs/reference.md#var_public_configs
|
[`public_configs`]: https://gn.googlesource.com/gn/+/main/docs/reference.md#var_public_configs
|
||||||
[`//build/config:compiler`]: https://cs.opensource.google/fuchsia/fuchsia/+/main:build/config/BUILD.gn;l=121;drc=c26c473bef93b33117ae417893118907a026fec7
|
[`//build/config:compiler`]: https://cs.opensource.google/fuchsia/fuchsia/+/main:build/config/BUILD.gn;l=121;drc=c26c473bef93b33117ae417893118907a026fec7
|
||||||
[build system]: https://fuchsia.dev/fuchsia-src/development/build/build_system
|
[build system]: https://fuchsia.dev/fuchsia-src/development/build/build_system
|
||||||
[fuchsia-ping]: ../notification-groups/fuchsia.md
|
[fuchsia-ping]: ../../notification-groups/fuchsia.md
|
||||||
|
|
||||||
[^loc]: As of June 2024, Fuchsia had about 2 million lines of first-party Rust
|
[^loc]: As of June 2024, Fuchsia had about 2 million lines of first-party Rust
|
||||||
code and a roughly equal amount of third-party code, as counted by tokei
|
code and a roughly equal amount of third-party code, as counted by tokei
|
||||||
|
|
@ -48,4 +48,4 @@ line to your PR description:
|
||||||
Then when you `@bors try` it will pick the job that builds the Rust for Linux
|
Then when you `@bors try` it will pick the job that builds the Rust for Linux
|
||||||
integration.
|
integration.
|
||||||
|
|
||||||
[rfl-ping]: ../notification-groups/rust-for-linux.md
|
[rfl-ping]: ../../notification-groups/rust-for-linux.md
|
||||||
|
|
@ -24,5 +24,5 @@ there aren't any significant regressions.
|
||||||
We have CI jobs that build large open-source Rust projects that are used as
|
We have CI jobs that build large open-source Rust projects that are used as
|
||||||
regression tests in CI. Our integration jobs build the following projects:
|
regression tests in CI. Our integration jobs build the following projects:
|
||||||
|
|
||||||
- [Fuchsia](fuchsia.md)
|
- [Fuchsia](./ecosystem-test-jobs/fuchsia.md)
|
||||||
- [Rust for Linux](rust-for-linux.md)
|
- [Rust for Linux](./ecosystem-test-jobs/rust-for-linux.md)
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ directory, and `x` will essentially run `cargo test` on that package.
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| ----------------------------------------- | ------------------------------------- |
|
|-------------------------------------------|---------------------------------------|
|
||||||
| `./x test library/std` | Runs tests on `std` only |
|
| `./x test library/std` | Runs tests on `std` only |
|
||||||
| `./x test library/core` | Runs tests on `core` only |
|
| `./x test library/core` | Runs tests on `core` only |
|
||||||
| `./x test compiler/rustc_data_structures` | Runs tests on `rustc_data_structures` |
|
| `./x test compiler/rustc_data_structures` | Runs tests on `rustc_data_structures` |
|
||||||
|
|
@ -86,7 +86,7 @@ above.
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| ----------------------- | ------------------------------------------------------------------ |
|
|-------------------------|--------------------------------------------------------------------|
|
||||||
| `./x fmt --check` | Checks formatting and exits with an error if formatting is needed. |
|
| `./x fmt --check` | Checks formatting and exits with an error if formatting is needed. |
|
||||||
| `./x fmt` | Runs rustfmt across the entire codebase. |
|
| `./x fmt` | Runs rustfmt across the entire codebase. |
|
||||||
| `./x test tidy --bless` | First runs rustfmt to format the codebase, then runs tidy checks. |
|
| `./x test tidy --bless` | First runs rustfmt to format the codebase, then runs tidy checks. |
|
||||||
|
|
@ -155,6 +155,10 @@ chapter](ecosystem.md) for more details.
|
||||||
A separate infrastructure is used for testing and tracking performance of the
|
A separate infrastructure is used for testing and tracking performance of the
|
||||||
compiler. See the [Performance testing chapter](perf.md) for more details.
|
compiler. See the [Performance testing chapter](perf.md) for more details.
|
||||||
|
|
||||||
|
### Codegen backend testing
|
||||||
|
|
||||||
|
See [Codegen backend testing](./codegen-backend-tests/intro.md).
|
||||||
|
|
||||||
## Miscellaneous information
|
## Miscellaneous information
|
||||||
|
|
||||||
There are some other useful testing-related info at [Misc info](misc.md).
|
There are some other useful testing-related info at [Misc info](misc.md).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue