Fix most bootstrap tests

Uses --stage 2 for all the existing tests
This commit is contained in:
Joshua Nelson 2020-07-13 19:55:33 -04:00
parent 01c6256178
commit 74b373426a
2 changed files with 3 additions and 2 deletions

View File

@ -232,7 +232,7 @@ impl StepDescription {
}
if !attempted_run {
panic!("Error: no rules matched {}.", path.display());
panic!("error: no rules matched {}", path.display());
}
}
}

View File

@ -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 };