diff options
| author | bors <bors@rust-lang.org> | 2024-04-29 09:14:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-29 09:14:09 +0000 |
| commit | 90846015cc99aa90290c1f4ee95c571fff6901ef (patch) | |
| tree | e584828acc93919054ec9f103f22811723282626 /src | |
| parent | c65b2dc935c27c0c8c3997c6e8d8894718a2cb1a (diff) | |
| parent | de3eff79a6456aa3f31e37123e73ef713d00f781 (diff) | |
| download | rust-90846015cc99aa90290c1f4ee95c571fff6901ef.tar.gz rust-90846015cc99aa90290c1f4ee95c571fff6901ef.zip | |
Auto merge of #124505 - Enselic:aux-bin-fix, r=jieyouxu
aux-bin: Avoid old .so files from old tests; clean auxiliary dir root Also fix the typo pointed out [here](https://github.com/rust-lang/rust/pull/123316/files#r1577081531). Closes #124465
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index b0f84b1162f..da51b33a9d6 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -2140,6 +2140,7 @@ impl<'test> TestCx<'test> { if !self.props.aux_bins.is_empty() { let aux_bin_dir = self.aux_bin_output_dir_name(); + remove_and_create_dir_all(&aux_dir); remove_and_create_dir_all(&aux_bin_dir); } |
