From 2bbdeeef7c7a20c3b8cfbecdd0fdf307ddc40935 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 10 Mar 2026 11:14:32 +0000 Subject: [PATCH] [lldb][test] PlatformDarwinTest.cpp: clean up directories in TearDown This wasn't causing any failures I'm aware of but for test hygenie remove all the temporary directories we create. --- lldb/unittests/Platform/PlatformDarwinTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/unittests/Platform/PlatformDarwinTest.cpp b/lldb/unittests/Platform/PlatformDarwinTest.cpp index 6e1371e3d92f..48836ad89b14 100644 --- a/lldb/unittests/Platform/PlatformDarwinTest.cpp +++ b/lldb/unittests/Platform/PlatformDarwinTest.cpp @@ -117,6 +117,10 @@ protected: << "Failed to create test dSYM Python directory."; }; + void TearDown() override { + ASSERT_FALSE(llvm::sys::fs::remove_directories(m_tmp_root_dir)); + } + DebuggerSP m_debugger_sp; PlatformSP m_platform_sp; TargetSP m_target_sp;