[Lldb-commits] [lldb] [lldb] Fix tests on Linux on Arm (32-bit) after #181071 (PR #191861)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 13 10:52:31 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/test/API/functionalities/scripted_frame_provider/pass_through_prefix/TestFrameProviderPassThroughPrefix.py lldb/test/API/functionalities/scripted_frame_provider/thread_filter/TestFrameProviderThreadFilter.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
--- pass_through_prefix/TestFrameProviderPassThroughPrefix.py 2026-04-13 17:49:27.000000 +0000
+++ pass_through_prefix/TestFrameProviderPassThroughPrefix.py 2026-04-13 17:51:59.774626 +0000
@@ -22,11 +22,15 @@
def setUp(self):
TestBase.setUp(self)
self.source = "main.c"
- @expectedFailureAll(oslist=["linux"], archs=["arm$"], bugnumber="github.com/llvm/llvm-project/issues/191859")
+ @expectedFailureAll(
+ oslist=["linux"],
+ archs=["arm$"],
+ bugnumber="github.com/llvm/llvm-project/issues/191859",
+ )
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
def test_pass_through_with_prefix(self):
"""
Test that a provider can read every frame from its parent list and
return them with a prefixed function name.
--- thread_filter/TestFrameProviderThreadFilter.py 2026-04-13 17:49:27.000000 +0000
+++ thread_filter/TestFrameProviderThreadFilter.py 2026-04-13 17:51:59.814972 +0000
@@ -57,11 +57,15 @@
lldb.SBStructuredData(),
error,
)
self.assertTrue(error.Success(), f"Should register {cls}: {error}")
- @skipIf(oslist=["linux"], archs=["arm$"], bugnumber="github.com/llvm/llvm-project/issues/191855")
+ @skipIf(
+ oslist=["linux"],
+ archs=["arm$"],
+ bugnumber="github.com/llvm/llvm-project/issues/191855",
+ )
@skipIf(oslist=["windows"], bugnumber="github.com/llvm/llvm-project/issues/191222")
def test_bt_provider_star_with_thread_filter(self):
"""
Register EvenThreadProvider, OddThreadProvider, and UpperCaseProvider.
For each worker thread, 'bt --provider *' should show:
``````````
</details>
https://github.com/llvm/llvm-project/pull/191861
More information about the lldb-commits
mailing list