From 8b94fbea01fe73bfeadc81a43051bb12efbd40c0 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Thu, 21 Apr 2022 21:27:15 -0500 Subject: [PATCH] Don't checkout submodules in bootstrap tests This doesn't cause any tests to fail, and can greatly speed them up. --- src/bootstrap/builder/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs index a59f72ed968..0d321f13911 100644 --- a/src/bootstrap/builder/tests.rs +++ b/src/bootstrap/builder/tests.rs @@ -7,6 +7,7 @@ fn configure(cmd: &str, host: &[&str], target: &[&str]) -> Config { // don't save toolstates config.save_toolstates = None; config.dry_run = true; + config.submodules = Some(false); config.ninja_in_file = false; // try to avoid spurious failures in dist where we create/delete each others file // HACK: rather than pull in `tempdir`, use the one that cargo has conveniently created for us