mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Prevent Windows filesystem races in bootstrap tests
This commit is contained in:
@@ -1921,6 +1921,9 @@ fn run(self, builder: &Builder) {
|
||||
cmd.arg("--no-fail-fast");
|
||||
}
|
||||
cmd.arg("--").args(&builder.config.cmd.test_args());
|
||||
// rustbuild tests are racy on directory creation so just run them one at a time.
|
||||
// Since there's not many this shouldn't be a problem.
|
||||
cmd.arg("--test-threads=1");
|
||||
try_run(builder, &mut cmd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user