[Lldb-commits] [lldb] [lldb] Fix TestGdbRemoteForkNonStop.py test (PR #131293)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 18 01:19:39 PDT 2025


================
@@ -743,6 +743,20 @@ def getBuildArtifact(self, name="a.out"):
         """Return absolute path to an artifact in the test's build directory."""
         return os.path.join(self.getBuildDir(), name)
 
+    def get_process_working_directory(self):
+        """Get the working directory that should be used when launching processes for local or remote processes."""
+        if lldb.remote_platform:
+            # Remote tests set the platform working directory up in
+            # TestBase.setUp()
----------------
labath wrote:

```suggestion
            # Base.setUp()
```

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


More information about the lldb-commits mailing list