From de3eff79a6456aa3f31e37123e73ef713d00f781 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Mon, 29 Apr 2024 06:50:38 +0200 Subject: [PATCH] aux-bin: Avoid old .so files from old tests; clean auxiliary dir root --- src/tools/compiletest/src/runtest.rs | 1 + 1 file changed, 1 insertion(+) 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 @@ fn aux_output_dir(&self) -> PathBuf { 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); }