[Lldb-commits] [lldb] [lldb][tests] Skip flaky TestLongjmp test on Windows (PR #186199)

via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 12 10:54:05 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/longjmp/TestLongjmp.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
--- TestLongjmp.py	2026-03-12 17:50:24.000000 +0000
+++ TestLongjmp.py	2026-03-12 17:53:34.085010 +0000
@@ -9,27 +9,27 @@
 from lldbsuite.test import lldbutil
 
 
 class LongjmpTestCase(TestBase):
     @skipIfDarwin  # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
-    @skipIfWindows # Test is flaky on Windows
+    @skipIfWindows  # Test is flaky on Windows
     @expectedFlakeyNetBSD
     def test_step_out(self):
         """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out."""
         self.build()
         self.step_out()
 
     @skipIfDarwin  # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
-    @skipIfWindows # Test is flaky on Windows
+    @skipIfWindows  # Test is flaky on Windows
     @skipIfNetBSD
     def test_step_over(self):
         """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-over a longjmp."""
         self.build()
         self.step_over()
 
     @skipIfDarwin  # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
-    @skipIfWindows # Test is flaky on Windows
+    @skipIfWindows  # Test is flaky on Windows
     @expectedFlakeyNetBSD
     def test_step_back_out(self):
         """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out after thread step-in."""
         self.build()
         self.step_back_out()

``````````

</details>


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


More information about the lldb-commits mailing list