about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNiv Kaminer <nivkner@zoho.com>2018-03-21 07:25:32 +0200
committerNiv Kaminer <nivkner@zoho.com>2018-03-21 07:25:32 +0200
commit66d120cd263ea77a44fcde9409a71ac673a5262c (patch)
treeb5e563e52664cd7aa00274cbb32d2c327b64c835 /src
parentd5b55c1159c57cee0118df23626cb786e19ca1e5 (diff)
downloadrust-66d120cd263ea77a44fcde9409a71ac673a5262c.tar.gz
rust-66d120cd263ea77a44fcde9409a71ac673a5262c.zip
Revert "remove FIXME(#33435) and remove the spurious failures counter measure"
This reverts commit be73a1f963e7830de2dbfbea6b362673ab7e6ded.
Diffstat (limited to 'src')
-rw-r--r--src/tools/compiletest/src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs
index cf87062f6be..e65c03a6e57 100644
--- a/src/tools/compiletest/src/main.rs
+++ b/src/tools/compiletest/src/main.rs
@@ -452,6 +452,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