[Lldb-commits] [lldb] [lldb][windows] fix TestReplaceDLL.py reruns (PR #187002)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 17 04:42:08 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD lldb/packages/Python/lldbsuite/test/lldbtest.py lldb/test/API/windows/launch/replace-dll/TestReplaceDLL.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- packages/Python/lldbsuite/test/lldbtest.py 2026-03-17 11:39:15.000000 +0000
+++ packages/Python/lldbsuite/test/lldbtest.py 2026-03-17 11:41:32.001309 +0000
@@ -775,11 +775,11 @@
previous contents."""
bdir = self.getBuildDir()
if os.path.isdir(bdir) and not self.SHARED_BUILD_TESTCASE:
shutil.rmtree(bdir)
lldbutil.mkdir_p(bdir)
-
+
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 getSourcePath(self, name):
``````````
</details>
https://github.com/llvm/llvm-project/pull/187002
More information about the lldb-commits
mailing list