From f951feee5476aaf0eab7f3c7c15b0a7dad0ced36 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 24 Sep 2025 13:05:36 -0400 Subject: [PATCH] Clean all test directories --- build_system/src/clean.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build_system/src/clean.rs b/build_system/src/clean.rs index a441ed613f9..43f01fdf35e 100644 --- a/build_system/src/clean.rs +++ b/build_system/src/clean.rs @@ -69,8 +69,13 @@ fn clean_all() -> Result<(), String> { } fn clean_ui_tests() -> Result<(), String> { - let path = Path::new(crate::BUILD_DIR).join("rust/build/x86_64-unknown-linux-gnu/test/ui/"); - run_command(&[&"find", &path, &"-name", &"stamp", &"-delete"], None)?; + let directories = ["run-make", "run-make-cargo", "ui"]; + for directory in directories { + let path = Path::new(crate::BUILD_DIR) + .join("rust/build/x86_64-unknown-linux-gnu/test/") + .join(directory); + run_command(&[&"find", &path, &"-name", &"stamp", &"-delete"], None)?; + } Ok(()) }