about summary refs log tree commit diff
path: root/src/bootstrap/builder
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-07-13 19:55:33 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-07-27 23:11:18 -0400
commit74b373426a79af2b21b8d266a881753e338cfd2e (patch)
treee51e3ca554304a68015234ccd34d6d3cc8fa0485 /src/bootstrap/builder
parent01c6256178fb126d668045f3a1297e0f3491e985 (diff)
downloadrust-74b373426a79af2b21b8d266a881753e338cfd2e.tar.gz
rust-74b373426a79af2b21b8d266a881753e338cfd2e.zip
Fix most bootstrap tests
Uses --stage 2 for all the existing tests
Diffstat (limited to 'src/bootstrap/builder')
-rw-r--r--src/bootstrap/builder/tests.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs
index 6684ca82c27..240553d8baf 100644
--- a/src/bootstrap/builder/tests.rs
+++ b/src/bootstrap/builder/tests.rs
@@ -6,6 +6,7 @@ use pretty_assertions::assert_eq;
 
 fn configure(host: &[&str], target: &[&str]) -> Config {
     let mut config = Config::default_opts();
+    config.stage = Some(2);
     // don't save toolstates
     config.save_toolstates = None;
     config.skip_only_host_steps = false;
@@ -421,7 +422,7 @@ fn test_exclude() {
 }
 
 #[test]
-fn doc_default() {
+fn doc_ci() {
     let mut config = configure(&[], &[]);
     config.compiler_docs = true;
     config.cmd = Subcommand::Doc { paths: Vec::new(), open: false };