Skip to content

Commit 3001626

Browse files
committed
Always remove tmp/partitioning-tests before check-codegen-units to work around #33435.
1 parent 5c42e69 commit 3001626

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tools/compiletest/src/main.rs

+5
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,11 @@ pub fn run_tests(config: &Config) {
261261
_ => { /* proceed */ }
262262
}
263263

264+
// FIXME(#33435) Avoid spurious failures in codegen-units/partitioning tests.
265+
if let Mode::CodegenUnits = config.mode {
266+
let _ = fs::remove_dir_all("tmp/partitioning-tests");
267+
}
268+
264269
let opts = test_opts(config);
265270
let tests = make_tests(config);
266271
// sadly osx needs some file descriptor limits raised for running tests in

0 commit comments

Comments
 (0)