[Lldb-commits] [lldb] [lldb][test] Remove restriction for remote working directory (PR #89768)

via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 23 06:36:04 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: None (ita-sc)

<details>
<summary>Changes</summary>

Hi

This patch removes restriction for remote directory, as some remote targets may not have remote working directory, for example baremetal targets.

---
Full diff: https://github.com/llvm/llvm-project/pull/89768.diff


1 Files Affected:

- (modified) lldb/packages/Python/lldbsuite/test/dotest.py (-4) 


``````````diff
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 2ec4a840b91675..03acb4059591fc 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -1009,10 +1009,6 @@ def run_suite():
                 % configuration.lldb_platform_working_dir
             )
         lldb.selected_platform = lldb.remote_platform
-    else:
-        lldb.remote_platform = None
-        configuration.lldb_platform_working_dir = None
-        configuration.lldb_platform_url = None
 
     # Set up the working directory.
     # Note that it's not dotest's job to clean this directory.

``````````

</details>


https://github.com/llvm/llvm-project/pull/89768


More information about the lldb-commits mailing list