[Lldb-commits] [lldb] [lldb][test] StepUntil disable test for unsupported linkers. (PR #157474)

via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 9 04:01:46 PDT 2025


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/lldbplatformutil.py lldb/test/API/functionalities/thread/step_until/TestStepUntil.py lldb/test/API/functionalities/thread/step_until/TestStepUntilAPI.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/lldbplatformutil.py	2025-09-09 10:58:31.000000 +0000
+++ packages/Python/lldbsuite/test/lldbplatformutil.py	2025-09-09 11:01:06.158335 +0000
@@ -43,10 +43,11 @@
         # TODO: Add check for other architectures
         test_case.fail(
             "Unsupported architecture for test case (arch: %s)"
             % test_case.getArchitecture()
         )
+
 
 def linker_script_syntax_unsupported() -> Optional[str]:
     """Current versions of mold(2.40.4) and gold(2.44) linker does not support some syntax of
     linker scripts, this maybe supported in future versions. check if it compiles,
     if not it is not supported.
--- test/API/functionalities/thread/step_until/TestStepUntilAPI.py	2025-09-09 10:58:31.000000 +0000
+++ test/API/functionalities/thread/step_until/TestStepUntilAPI.py	2025-09-09 11:01:06.262616 +0000
@@ -1,6 +1,5 @@
-
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbplatformutil import linker_script_syntax_unsupported
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test import lldbutil
 

``````````

</details>


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


More information about the lldb-commits mailing list