Skip to content

Commit

Permalink
Prevent Windows filesystem races in bootstrap tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Jun 16, 2018
1 parent 18bb86e commit b436dca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bootstrap/test.rs
Expand Up @@ -1921,6 +1921,9 @@ impl Step for Bootstrap {
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);
}

Expand Down

0 comments on commit b436dca

Please sign in to comment.