Skip to content

Commit

Permalink
Always remove tmp/partitioning-tests before check-codegen-units to wo…
Browse files Browse the repository at this point in the history
…rk around #33435.
  • Loading branch information
eddyb committed May 7, 2016
1 parent 5c42e69 commit 3001626
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tools/compiletest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ pub fn run_tests(config: &Config) {
_ => { /* proceed */ }
}

// FIXME(#33435) Avoid spurious failures in codegen-units/partitioning tests.
if let Mode::CodegenUnits = config.mode {
let _ = fs::remove_dir_all("tmp/partitioning-tests");
}

let opts = test_opts(config);
let tests = make_tests(config);
// sadly osx needs some file descriptor limits raised for running tests in
Expand Down

0 comments on commit 3001626

Please sign in to comment.