[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:35:32 PDT 2024


https://github.com/ita-sc created https://github.com/llvm/llvm-project/pull/89768

Hi

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

>From 3472c2b35393d2a7b348e245857ffac3765dc6e3 Mon Sep 17 00:00:00 2001
From: Ivan Tetyushkin <ivan.tetyushkin at syntacore.com>
Date: Thu, 11 Apr 2024 11:52:48 +0300
Subject: [PATCH] [lldb][test] Remove restriction for remote working directory

Some remote targets may not have remote working directory,
for example baremetal targets.
---
 lldb/packages/Python/lldbsuite/test/dotest.py | 4 ----
 1 file changed, 4 deletions(-)

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.



More information about the lldb-commits mailing list