From e36573b68e3b987360d1b61775f2326581f2a51a Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Wed, 24 Mar 2021 12:03:59 -0400 Subject: [PATCH] Fix bootstrap tests on beta --- src/bootstrap/builder/tests.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs index 885fcfff030a2..a881512e988ed 100644 --- a/src/bootstrap/builder/tests.rs +++ b/src/bootstrap/builder/tests.rs @@ -585,8 +585,11 @@ mod dist { rustfix_coverage: false, pass: None, }; + // Make sure rustfmt binary not being found isn't an error. + config.channel = "beta".to_string(); let build = Build::new(config); let mut builder = Builder::new(&build); + builder.run_step_descriptions(&Builder::get_step_descriptions(Kind::Test), &[]); let a = TargetSelection::from_user("A");