about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorAmos Wenger <amoswenger@gmail.com>2022-07-22 18:16:46 +0200
committerAmos Wenger <amoswenger@gmail.com>2022-07-24 10:38:19 +0200
commit107e2653a6fa15ff9761302f86b2bdf8c8cc8147 (patch)
tree84d8f70bb0acc698b9144d295da54ce96fc5e018 /src/bootstrap
parent44f50c5fd275dfe7260d6eea5065e12eb3c8e811 (diff)
downloadrust-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.rs4
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());