diff options
| author | Amos Wenger <amoswenger@gmail.com> | 2022-07-22 18:16:46 +0200 |
|---|---|---|
| committer | Amos Wenger <amoswenger@gmail.com> | 2022-07-24 10:38:19 +0200 |
| commit | 107e2653a6fa15ff9761302f86b2bdf8c8cc8147 (patch) | |
| tree | 84d8f70bb0acc698b9144d295da54ce96fc5e018 /src/bootstrap | |
| parent | 44f50c5fd275dfe7260d6eea5065e12eb3c8e811 (diff) | |
| download | rust-107e2653a6fa15ff9761302f86b2bdf8c8cc8147.tar.gz rust-107e2653a6fa15ff9761302f86b2bdf8c8cc8147.zip | |
Don't run slow tests in Rust CI, only RA CI
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 0fa9671738e..c2c45355694 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -396,6 +396,10 @@ impl Step for RustAnalyzer { // https://github.com/rust-analyzer/expect-test/issues/33 cargo.env("CARGO_WORKSPACE_DIR", &dir); + // RA's test suite tries to write to the source directory, that can't + // work in Rust CI + cargo.env("SKIP_SLOW_TESTS", "1"); + cargo.add_rustc_lib_path(builder, compiler); cargo.arg("--").args(builder.config.cmd.test_args()); |
